mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 19:38:10 +00:00
[client] egl: fix integer division into float
This commit is contained in:
@@ -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[] =
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user