Commit e483fd82 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko Committed by Adrien Plazas

gl-display: Don't clear depth buffer

Since RetroGLDisplay doesn't use depth buffer, don't waste time clearing it.
parent 3e9699a8
Pipeline #21629 passed with stages
in 4 minutes and 34 seconds
......@@ -320,7 +320,7 @@ retro_gl_display_render (RetroGLDisplay *self)
g_return_val_if_fail (RETRO_IS_GL_DISPLAY (self), FALSE);
glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glClear (GL_COLOR_BUFFER_BIT);
filter = self->filter >= RETRO_VIDEO_FILTER_COUNT ?
RETRO_VIDEO_FILTER_SMOOTH :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment