mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 03:07:11 +00:00
[client] egl: fix integer division into float
This commit is contained in:
parent
b70811dcb9
commit
55fa5cc851
1 changed files with 1 additions and 1 deletions
|
@ -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[] =
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue