mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Oops, fix texture preview in GE debugger.
This commit is contained in:
1 parent
91e576449f
commit
4222639a84
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user