gpu_tonemapper:Fix uninitialized variables.
Change-Id: I9cc15c326ff250acffb681f44aa50bf1a2dce741 CRs-Fixed: 1116798
This commit is contained in:
@@ -158,7 +158,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