Please sign in to comment.
Add a new cvar "r_waylandcompat"
Commit 9e15847 set the SDL OpenGL attribut SDL_GL_ALPHA_SIZE to 0 since the alpha channel is used by Wayland. But for X11 the GLX 1.4 specification clearly states: "If the requested number of bits in attrib_list for a particular color component is 0 or GLX_DONT_CARE, then the number of bits for that component is not considered." So if SDL_GL_ALPHA_SIZE is 0 a framebuffer without an alpha channel is created. This is no problem on the default GLX module due to a non standard implementation but manifests with Nvidias GLX module. The consequence are render mistakes like in game display showing static or the flashlight looking weird.
- Loading branch information...