Permalink
Browse files

Don't use alpha bits for the GL config

Wayland actually uses this.
  • Loading branch information...
1 parent df81835 commit 9e15847083a12b7c5916fb38e85896abade3d8ae @dhewg dhewg committed Jul 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 neo/sys/glimp.cpp
View
@@ -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);

0 comments on commit 9e15847

Please sign in to comment.