Oops, fix texture preview in GE debugger.

This commit is contained in:
Unknown W. Brackets committed 2015-10-12 21:40:47 -07:00
1 parent 91e576449f
commit 4222639a84
1 file changed
+1
+1
View File
@@ -2376,6 +2376,7 @@ bool GLES_GPU::GetCurrentTexture(GPUDebugBuffer &buffer, int level) {
}
textureCache_.SetTexture(true);
textureCache_.ApplyTexture();
int w = gstate.getTextureWidth(level);
int h = gstate.getTextureHeight(level);
glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &w);