From d1dc84bddea366d1adcb048258e34d29e82673a7 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Fri, 15 Oct 2021 21:36:32 +0300 Subject: [PATCH] Require 8-bit stencil buffer in app --- libs/app/source/app.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/app/source/app.cpp b/libs/app/source/app.cpp index 7bc63c1e..1f979e45 100644 --- a/libs/app/source/app.cpp +++ b/libs/app/source/app.cpp @@ -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) {