mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
No need to enable FZ every frame.
This commit is contained in:
parent
4590e44954
commit
fc37c16aa2
@ -432,8 +432,7 @@ void NativeInitGraphics()
|
||||
|
||||
void NativeRender()
|
||||
{
|
||||
EnableFZ();
|
||||
// Clearing the screen at the start of the frame is an optimization for tiled mobile GPUs, as it then doesn't need to keep it around between frames.
|
||||
// Clearing the screen at the start of the frame is an optimization for tiled mobile GPUs, as it then doesn't need to keep it around between frames.
|
||||
glClearColor(0,0,0,1);
|
||||
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||
|
||||
|
@ -569,8 +569,6 @@ void TakeScreenshot() {
|
||||
}
|
||||
|
||||
void NativeRender() {
|
||||
EnableFZ();
|
||||
|
||||
glstate.depthWrite.set(GL_TRUE);
|
||||
glstate.colorMask.set(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user