diff options
Diffstat (limited to 'gpu_tonemapper/glengine.cpp')
-rw-r--r-- | gpu_tonemapper/glengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu_tonemapper/glengine.cpp b/gpu_tonemapper/glengine.cpp index 9fc8f6b1..eda4e6b6 100644 --- a/gpu_tonemapper/glengine.cpp +++ b/gpu_tonemapper/glengine.cpp @@ -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) { |