Avoid external variable whiteTexture
To get it, use GetDefaultTexture()
This commit is contained in:
parent
c46c0fc652
commit
68a02e567d
1 changed files with 6 additions and 7 deletions
|
|
@ -228,8 +228,7 @@ static PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArrays;
|
|||
static int blendMode = 0;
|
||||
|
||||
// White texture useful for plain color polys (required by shader)
|
||||
// NOTE: It's required in shapes and models modules!
|
||||
unsigned int whiteTexture;
|
||||
static unsigned int whiteTexture;
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Module specific Functions Declaration
|
||||
|
|
|
|||
Loading…
Reference in a new issue