From 9f12e5928c3ab1b5fbf125fd7010cde02c24be01 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 19 Aug 2013 08:04:31 +0200 Subject: [PATCH] - removed stencil buffer check from SDL init code because it caused a crash. --- src/sdl/sdlglvideo.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/sdl/sdlglvideo.cpp b/src/sdl/sdlglvideo.cpp index 0241a4f393..868cf0afcd 100644 --- a/src/sdl/sdlglvideo.cpp +++ b/src/sdl/sdlglvideo.cpp @@ -311,13 +311,6 @@ bool SDLGLVideo::InitHardware (bool allowsoftware, int multisample) Printf ("R_OPENGL: Reverting to software mode...\n"); return false; } - int value = 0; - SDL_GL_GetAttribute( SDL_GL_STENCIL_SIZE, &value ); - if (!value) - { - Printf("R_OPENGL: Failed to initialize stencil buffer! Reverting to software mode...\n"); - } - return true; }