Fixed possible uninitialized variable in gles renderer
This commit is contained in:
parent
cf868df93f
commit
fd4ab9d88f
@ -93,7 +93,7 @@ COGLES2MaterialRenderer::~COGLES2MaterialRenderer()
|
||||
if (Program)
|
||||
{
|
||||
GLuint shaders[8];
|
||||
GLint count;
|
||||
GLint count = 0;
|
||||
glGetAttachedShaders(Program, 8, &count, shaders);
|
||||
|
||||
count=core::min_(count,8);
|
||||
|
Loading…
Reference in New Issue
Block a user