From: Steinar H. Gunderson Date: Mon, 30 Dec 2013 23:02:52 +0000 (+0100) Subject: A little debugging. X-Git-Url: https://git.sesse.net/?p=mlt;a=commitdiff_plain;h=5ccdf907539a77167d7db286a642b2f423e7caa5 A little debugging. --- diff --git a/src/modules/opengl/filter_glsl_manager.cpp b/src/modules/opengl/filter_glsl_manager.cpp index 3cff5b15..b2a31a6f 100644 --- a/src/modules/opengl/filter_glsl_manager.cpp +++ b/src/modules/opengl/filter_glsl_manager.cpp @@ -133,6 +133,7 @@ glsl_texture GlslManager::get_texture(int width, int height, GLint internal_form return NULL; } + printf("created a new texture for %dx%d: %d\n", width, height, tex); glBindTexture( GL_TEXTURE_2D, tex ); glTexImage2D( GL_TEXTURE_2D, 0, internal_format, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL ); glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE );