We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b274871 commit 67c9f36Copy full SHA for 67c9f36
test/util.cpp
@@ -103,7 +103,7 @@ int setAttributesWithVersion(int major, int minor){
103
+ SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, major)
104
+ SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, minor)
105
+ SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1)
106
- + SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24)
+ + SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16)
107
+ SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1)
108
+ SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 4)
109
+ SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
0 commit comments