Changed: Force 32 bits depth with XRandr

--HG--
branch : develop
This commit is contained in:
kervala 2015-12-26 13:38:09 +01:00
parent cbea85c105
commit ec86bdcf96

View file

@ -2087,6 +2087,7 @@ bool CDriverGL::getModes(std::vector<GfxMode> &modes)
GfxMode mode; GfxMode mode;
mode.Width = sizes[i].width; mode.Width = sizes[i].width;
mode.Height = sizes[i].height; mode.Height = sizes[i].height;
mode.Depth = 32;
mode.Frequency = 0; mode.Frequency = 0;
modes.push_back(mode); modes.push_back(mode);
// nldebug("3D: Mode %d: %dx%d", i, mode.Width, mode.Height); // nldebug("3D: Mode %d: %dx%d", i, mode.Width, mode.Height);