Remove some unnecessary function parameters, improve some comments.

This commit is contained in:
Henrik Rydgård 2020-09-20 20:35:42 +02:00
parent 7ed1ade56b
commit 707e9cf7ac
14 changed files with 31 additions and 39 deletions

View file

@ -730,7 +730,9 @@ bool TextureCacheGLES::GetCurrentTextureDebug(GPUDebugBuffer &buffer, int level)
gstate.texbufwidth[0] = gstate.texbufwidth[level];
}
SetTexture(true);
InvalidateLastTexture();
SetTexture();
if (!nextTexture_) {
if (nextFramebufferTexture_) {
VirtualFramebuffer *vfb = nextFramebufferTexture_;