Explicitly request 24-bit depth buffer
This commit is contained in:
parent
21b532062b
commit
3dd8f3db61
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ namespace psemek::app
|
|||
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_MULTISAMPLEBUFFERS, 1);
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 4);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue