Avoid external variable whiteTexture

To get it, use GetDefaultTexture()
This commit is contained in:
raysan5
2016-06-11 12:41:03 +02:00
parent c46c0fc652
commit 68a02e567d
3 changed files with 6 additions and 7 deletions

View File

@@ -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