mirror of
https://github.com/ScrelliCopter/Lesson10-SDL3.git
synced 2025-02-21 07:19:26 +11:00
alpha size was set twice
This commit is contained in:
@@ -374,7 +374,6 @@ bool CreateGLWindow(char *title, int width, int height, int bits, bool fullscree
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 4);
|
||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); // Must Support Double Buffering
|
||||
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0); // Select Our Color Depth
|
||||
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 0); // Color Bits Ignored
|
||||
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 0);
|
||||
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 0);
|
||||
|
||||
Reference in New Issue
Block a user