Add a debug printf to display what texture sizes VideoOutGL::TestTexture is checking.

Originally committed to SVN as r3628.
This commit is contained in:
Amar Takhar 2009-10-06 14:58:32 +00:00
parent 21c5e7909c
commit bb4506354f

View file

@ -79,6 +79,8 @@ namespace {
glGetTexLevelParameteriv(GL_PROXY_TEXTURE_2D, 0, GL_TEXTURE_INTERNAL_FORMAT, &format);
glDeleteTextures(1, &texture);
while (glGetError()) { } // Silently swallow all errors as we don't care why it failed if it did
wxLogDebug("VideoOutGL::TestTexture: %dx%d\n", width, height);
return format != 0;
}
}