[client] egl: fix gcc false maybe-uninitialized positives

This commit is contained in:
Geoffrey McRae
2021-02-22 01:38:26 +11:00
parent 63ec2dc01b
commit 28024de314
2 changed files with 3 additions and 4 deletions

View File

@@ -248,7 +248,7 @@ bool egl_desktop_render(EGL_Desktop * desktop, const float x, const float y,
if (!desktop->shader)
return false;
int scaleAlgo;
int scaleAlgo = LG_SCALE_NEAREST;
switch (scaleType)
{