dhewm/dhewm3 — pull request #51 by Yamagi (2012-09-19 14:29:58+00:00)
Title: Add a new cvar "r_waylandcompat"

Commit 9e158470 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.

This pull request fixes bug #30.