From 0ba08f750561079f77d2f5cf731db6b3e13d6ea5 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Tue, 12 Mar 2024 21:50:58 +1100 Subject: [PATCH] alpha size was set twice --- Lesson10.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Lesson10.c b/Lesson10.c index 80c678a..adf5032 100644 --- a/Lesson10.c +++ b/Lesson10.c @@ -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);