mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Disable the last shader properly.
This commit is contained in:
1 parent
21c1c635d8
commit
7c87138915
1 file changed
+3
-1
@@ -19,6 +19,7 @@
|
||||
#include "gfx_es2/gl_state.h"
|
||||
#include "Core/Reporting.h"
|
||||
#include "GPU/GLES/Framebuffer.h"
|
||||
#include "GPU/GLES/ShaderManager.h"
|
||||
|
||||
static const char *stencil_fs =
|
||||
#ifdef USING_GLES
|
||||
@@ -83,7 +84,8 @@ bool FramebufferManager::NotifyStencilUpload(u32 addr, int size) {
|
||||
} else {
|
||||
glsl_bind(stencilUploadProgram_);
|
||||
}
|
||||
gstate_c.shaderChanged = true;
|
||||
|
||||
shaderManager_->DirtyLastShader();
|
||||
|
||||
MakePixelTexture(Memory::GetPointer(addr), dstBuffer->format, dstBuffer->fb_stride, dstBuffer->width, dstBuffer->height);
|
||||
DisableState();
|
||||
|
||||
Reference in new issue
Block a user