From c490d5307e119b1efe9c763c2740b71e6eb83fbe Mon Sep 17 00:00:00 2001 From: lisyarus Date: Sun, 13 Sep 2020 11:12:19 +0300 Subject: [PATCH] Turn off multisampling by default --- libs/app/source/app.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/app/source/app.cpp b/libs/app/source/app.cpp index 51c65e23..2963ad9e 100644 --- a/libs/app/source/app.cpp +++ b/libs/app/source/app.cpp @@ -81,8 +81,7 @@ namespace psemek::app 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); + SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 0); impl().window = SDL_CreateWindow(name.data(), SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 800, 600, SDL_WINDOW_RESIZABLE | SDL_WINDOW_OPENGL | SDL_WINDOW_MAXIMIZED); if (!impl().window)