[client] egl: fix integer division into float

This commit is contained in:
Geoffrey McRae committed 2023-11-11 13:48:41 +11:00
1 parent b70811dcb9
commit 55fa5cc851
1 file changed
+1 -1
+1 -1
View File
@@ -515,7 +515,7 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth,
&desktop->dmaShader : &desktop->shader;
const float mapHDRGain =
desktop->maxCLL / desktop->peakLuminance;
(float)desktop->maxCLL / desktop->peakLuminance;
EGL_Uniform uniforms[] =
{