[client] egl: fix desktop render dimensions check

Code now matches the error message.
This commit is contained in:
Chris Spencer authored and Geoffrey McRae committed 2025-03-05 10:57:20 +11:00
1 parent 661efd107e
commit 0fd6f59bbb
1 file changed
+1 -1
+1 -1
View File
@@ -454,7 +454,7 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth,
dma = desktop->useDMA;
}
if (unlikely(outputWidth == 0 && outputHeight == 0))
if (unlikely(outputWidth == 0 || outputHeight == 0))
DEBUG_FATAL("outputWidth || outputHeight == 0");
enum EGL_TexStatus status;