[client] egl: fix desktop render dimensions check

Code now matches the error message.
This commit is contained in:
Chris Spencer 2025-02-11 15:42:55 +00:00 committed by Geoffrey McRae
parent 661efd107e
commit 0fd6f59bbb

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;