Skip to content

Commit

Permalink
Correct texture preview in D3D9, oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Nov 14, 2015
1 parent 639d56a commit 3b98229
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GPU/Directx9/GPU_DX9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,7 @@ bool DIRECTX9_GPU::GetCurrentTexture(GPUDebugBuffer &buffer, int level) {
}

textureCache_.SetTexture(true);
textureCache_.ApplyTexture();
int w = gstate.getTextureWidth(level);
int h = gstate.getTextureHeight(level);

Expand Down

0 comments on commit 3b98229

Please sign in to comment.