[client] egl: fix integer division into float

This commit is contained in:
Geoffrey McRae 2023-11-11 11:43:21 +11:00
parent b70811dcb9
commit 55fa5cc851

View File

@ -515,7 +515,7 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth,
&desktop->dmaShader : &desktop->shader; &desktop->dmaShader : &desktop->shader;
const float mapHDRGain = const float mapHDRGain =
desktop->maxCLL / desktop->peakLuminance; (float)desktop->maxCLL / desktop->peakLuminance;
EGL_Uniform uniforms[] = EGL_Uniform uniforms[] =
{ {