mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add glstate.stencilTest.disable();
This commit is contained in:
parent
6b22266a00
commit
5105c6cd93
1 changed files with 4 additions and 1 deletions
|
@ -421,6 +421,7 @@ void FramebufferManager::CopyDisplayToOutput() {
|
||||||
glstate.cullFace.disable();
|
glstate.cullFace.disable();
|
||||||
glstate.depthTest.disable();
|
glstate.depthTest.disable();
|
||||||
glstate.scissorTest.disable();
|
glstate.scissorTest.disable();
|
||||||
|
glstate.stencilTest.disable();
|
||||||
|
|
||||||
fbo_bind_color_as_texture(vfb->fbo, 0);
|
fbo_bind_color_as_texture(vfb->fbo, 0);
|
||||||
|
|
||||||
|
@ -451,6 +452,8 @@ void FramebufferManager::BeginFrame() {
|
||||||
glstate.cullFace.disable();
|
glstate.cullFace.disable();
|
||||||
glstate.depthTest.disable();
|
glstate.depthTest.disable();
|
||||||
glstate.blend.disable();
|
glstate.blend.disable();
|
||||||
|
glstate.scissorTest.disable();
|
||||||
|
glstate.stencilTest.disable();
|
||||||
DrawPixels(pspframebuf, displayFormat_, displayStride_);
|
DrawPixels(pspframebuf, displayFormat_, displayStride_);
|
||||||
// TODO: restore state?
|
// TODO: restore state?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue