summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_texture.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c b/src/modules/evas/engines/gl_common/evas_gl_texture.c
index cc5ed6bd13..ef99962261 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -180,7 +180,14 @@ evas_gl_common_gl_format_to_colorspace(GLuint f)
180static void 180static void
181_print_tex_count(void) 181_print_tex_count(void)
182{ 182{
183 if (getenv("EVAS_GL_MEMINFO")) 183 static signed char printit = -1;
184
185 if (printit == -1)
186 {
187 if (getenv("EVAS_GL_MEMINFO")) printit = 1;
188 else printit = 0;
189 }
190 if (printit == 1)
184 { 191 {
185 fprintf(stderr, 192 fprintf(stderr,
186 "T: c:%i/%ik | a:%i/%ik | v:%i/%ik | r:%i/%ik | n:%i/%ik | d:%i/%ik\n", 193 "T: c:%i/%ik | a:%i/%ik | v:%i/%ik | r:%i/%ik | n:%i/%ik | d:%i/%ik\n",