Merge "gpu_tonemapper:Fix uninitialized variables."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
e37bdceb57
@@ -161,7 +161,7 @@ unsigned int engine_load1DTexture(void *data, int sz, int format)
|
|||||||
void dumpShaderLog(int shader)
|
void dumpShaderLog(int shader)
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
{
|
{
|
||||||
int success;
|
int success = 0;
|
||||||
GLchar infoLog[512];
|
GLchar infoLog[512];
|
||||||
GL(glGetShaderiv(shader, GL_COMPILE_STATUS, &success));
|
GL(glGetShaderiv(shader, GL_COMPILE_STATUS, &success));
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user