mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-20 06:00:58 +00:00
Oops, fix texture preview in GE debugger.
This commit is contained in:
parent
91e576449f
commit
4222639a84
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user