diff --git a/client/renderers/EGL/desktop.c b/client/renderers/EGL/desktop.c
index 6fe6ac06..16c0867a 100644
--- a/client/renderers/EGL/desktop.c
+++ b/client/renderers/EGL/desktop.c
@@ -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;