mirror of https://github.com/odrling/Aegisub
Add a debug printf to display what texture sizes VideoOutGL::TestTexture is checking.
Originally committed to SVN as r3628.
This commit is contained in:
parent
21c5e7909c
commit
bb4506354f
|
@ -79,6 +79,8 @@ namespace {
|
||||||
glGetTexLevelParameteriv(GL_PROXY_TEXTURE_2D, 0, GL_TEXTURE_INTERNAL_FORMAT, &format);
|
glGetTexLevelParameteriv(GL_PROXY_TEXTURE_2D, 0, GL_TEXTURE_INTERNAL_FORMAT, &format);
|
||||||
glDeleteTextures(1, &texture);
|
glDeleteTextures(1, &texture);
|
||||||
while (glGetError()) { } // Silently swallow all errors as we don't care why it failed if it did
|
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;
|
return format != 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue