Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't use alpha bits for the GL config

Wayland actually uses this.
  • Loading branch information...
commit 9e15847083a12b7c5916fb38e85896abade3d8ae 1 parent df81835
@dhewg dhewg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  neo/sys/glimp.cpp
View
2  neo/sys/glimp.cpp
@@ -126,7 +126,7 @@ bool GLimp_Init(glimpParms_t parms) {
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, channelcolorbits);
SDL_GL_SetAttribute(SDL_GL_GREEN_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_DEPTH_SIZE, tdepthbits);
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, tstencilbits);
Please sign in to comment.
Something went wrong with that request. Please try again.