- Replicate commit from: 5ee864ab5b

- Special thanks to @hanatos
This commit is contained in:
Rachael Alexanderson 2020-02-21 07:55:11 -05:00
parent 56c959d025
commit 6a40d71e89

View file

@ -176,10 +176,6 @@ namespace Priv
void SetupPixelFormat(int multisample, const int *glver) void SetupPixelFormat(int multisample, const int *glver)
{ {
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24); SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8); SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);