evas: force equality in check otherwise i get debug output even if the environnement variable is not set.

This commit is contained in:
Nicolas Aguirre 2014-01-11 10:25:16 +01:00 committed by Cedric BAIL
parent 6d7caf9450
commit 7182f87d51
1 changed files with 2 additions and 2 deletions

View File

@ -3209,7 +3209,7 @@ shader_array_flush(Evas_Engine_GL_Context *gc)
glDisableVertexAttribArray(SHAD_TEXUV3);
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
}
if (dbgflushnum)
if (dbgflushnum == 1)
{
const char *types[6] =
{"----", "RECT", "IMAG", "FONT", "YUV-", "MAP"};
@ -3289,7 +3289,7 @@ shader_array_flush(Evas_Engine_GL_Context *gc)
gc->pipe[i].region.type = 0;
}
gc->state.top_pipe = 0;
if (dbgflushnum)
if (dbgflushnum == 1)
{
if (done > 0) printf("DONE (pipes): %i\n", done);
}