]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
implemented threaded audio mixing for SDL client (required some
[xonotic/darkplaces.git] / vid_sdl.c
index 5dbd5cc6b6545d8d08c0d55c3fe47d985b8056f8..872f8cffe30e49b061ee73a235c937961fbcb55d 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -694,9 +694,9 @@ int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate
        }
        else
        {
-               SDL_GL_SetAttribute (SDL_GL_RED_SIZE, 1);
-               SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, 1);
-               SDL_GL_SetAttribute (SDL_GL_BLUE_SIZE, 1);
+               SDL_GL_SetAttribute (SDL_GL_RED_SIZE, 5);
+               SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, 5);
+               SDL_GL_SetAttribute (SDL_GL_BLUE_SIZE, 5);
                SDL_GL_SetAttribute (SDL_GL_DEPTH_SIZE, 16);
        }
        if (stereobuffer)