Merge "gpu_tonemapper:Fix uninitialized variables."

This commit is contained in:
Linux Build Service Account
2017-02-05 22:58:40 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -161,7 +161,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) {