mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Changed: Force 32 bits depth with XRandr
This commit is contained in:
parent
e1060b8923
commit
0286ac2270
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