mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-30 16:11:11 +00:00
Don't use alpha bits for the GL config
Wayland actually uses this.
This commit is contained in:
parent
df81835de0
commit
9e15847083
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ bool GLimp_Init(glimpParms_t parms) {
|
||||||
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, channelcolorbits);
|
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, channelcolorbits);
|
||||||
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, channelcolorbits);
|
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, channelcolorbits);
|
||||||
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, channelcolorbits);
|
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, channelcolorbits);
|
||||||
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, channelcolorbits);
|
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0);
|
||||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||||
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, tdepthbits);
|
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, tdepthbits);
|
||||||
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, tstencilbits);
|
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, tstencilbits);
|
||||||
|
|
Loading…
Reference in a new issue