Skip to content
Snippets Groups Projects
Commit 6748a409 authored by SimonPilkington's avatar SimonPilkington Committed by Michel Dänzer
Browse files

xwayland: Initialise values in xwlVidModeGetGamma()

ProcVidModeGetGamma() relies on GetGamma() to initialise values if it
returns TRUE. Without this, we're sending uninitialised values to
clients.

Fixes: #1040
parent d35f6833
No related branches found
No related tags found
Loading
......@@ -404,6 +404,7 @@ static Bool
xwlVidModeGetGamma(ScreenPtr pScreen, float *red, float *green, float *blue)
{
/* Unsupported for now, but pretend it works */
*red = *green = *blue = 1.0f;
return TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment