[client] egl: fix null pointer dereference crash

This commit is contained in:
Geoffrey McRae committed 2025-09-08 10:57:08 +10:00
1 parent 08064efb7f
commit f07dd827ae
1 file changed
+3
+3
View File
@@ -479,6 +479,9 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth,
EGL_Texture * texture = egl_postProcessGetOutput(desktop->pp,
&finalSizeX, &finalSizeY);
if (!texture)
texture = tex;
glBindFramebuffer(GL_FRAMEBUFFER, 0);
egl_resetViewport(desktop->egl);