Assume that "HandleSRGB == false" means "don't care".
It solves the issue with nvidia when HandleSRGB is set to false.
This commit is contained in:
parent
c35599f3e2
commit
87d43063ed
@ -694,6 +694,12 @@ bool CIrrDeviceLinux::createWindow()
|
|||||||
visualAttrBuffer[17] = 0;
|
visualAttrBuffer[17] = 0;
|
||||||
visualAttrBuffer[19] = 0;
|
visualAttrBuffer[19] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CreationParams.HandleSRGB == false)
|
||||||
|
{
|
||||||
|
visualAttrBuffer[21] = GLX_DONT_CARE;
|
||||||
|
}
|
||||||
|
|
||||||
// first round with unchanged values
|
// first round with unchanged values
|
||||||
{
|
{
|
||||||
configList=glxChooseFBConfig(display, screennr, visualAttrBuffer,&nitems);
|
configList=glxChooseFBConfig(display, screennr, visualAttrBuffer,&nitems);
|
||||||
|
Loading…
Reference in New Issue
Block a user