]> git.sesse.net Git - mlt/commitdiff
A little debugging. master
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 30 Dec 2013 23:02:52 +0000 (00:02 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 7 Apr 2014 22:08:17 +0000 (00:08 +0200)
src/modules/opengl/filter_glsl_manager.cpp

index 3cff5b15a7e7eea78961e63fcdb0733132dd0c01..b2a31a6fa2697455b05d0df55e08583d33dfc658 100644 (file)
@@ -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 );