Changed: Force 32 bits depth with XRandr
This commit is contained in:
parent
4e08b64e30
commit
3bf4de59e4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue