gpu_tonemapper:Fix uninitialized variables.

Change-Id: I9cc15c326ff250acffb681f44aa50bf1a2dce741
CRs-Fixed: 1116798
This commit is contained in:
Pramodh Kumar Mukunda
2017-01-27 14:58:59 +05:30
parent 8e0581e3da
commit b89f245ceb

View File

@@ -158,7 +158,7 @@ unsigned int engine_load1DTexture(void *data, int sz, int format)
void dumpShaderLog(int shader)
//-----------------------------------------------------------------------------
{
int success;
int success = 0;
GLchar infoLog[512];
GL(glGetShaderiv(shader, GL_COMPILE_STATUS, &success));
if (!success) {