diff --git a/libs/app/source/app.cpp b/libs/app/source/app.cpp index de2b2232..d4264352 100644 --- a/libs/app/source/app.cpp +++ b/libs/app/source/app.cpp @@ -65,6 +65,9 @@ namespace psemek::app SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8); SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8); + SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1); + SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 4); + 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) sdl_fail("Failed to create window: ");