Changed: Force 32 bits depth with XRandr

This commit is contained in:
kervala 2015-12-26 13:38:09 +01:00
parent 4e08b64e30
commit 3bf4de59e4

View file

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