From ec86bdcf964f576e6faf9620cd73ed38b2752c34 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 26 Dec 2015 13:38:09 +0100 Subject: [PATCH] Changed: Force 32 bits depth with XRandr --HG-- branch : develop --- code/nel/src/3d/driver/opengl/driver_opengl_window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp index 3c60da0c0..d2abbfd38 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -2087,6 +2087,7 @@ bool CDriverGL::getModes(std::vector &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);