Require 8-bit stencil buffer in app

This commit is contained in:
Nikita Lisitsa 2021-10-15 21:36:32 +03:00
parent 513105d3ee
commit d1dc84bdde

View file

@ -68,6 +68,7 @@ namespace psemek::app
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_STENCIL_SIZE, 8);
if (opts.multisampling == 0)
{