From 3cd0abeb0619b428f397c59fee2b0c5f74ac4177 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 3 Jun 2010 13:45:00 +0200 Subject: [PATCH] Fixed: #898 Shadows under Linux --- code/nel/src/3d/driver/opengl/driver_opengl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.cpp b/code/nel/src/3d/driver/opengl/driver_opengl.cpp index 9f7725b12..2b486c2fd 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl.cpp @@ -1056,6 +1056,7 @@ bool CDriverGL::setDisplay(nlWindow wnd, const GfxMode &mode, bool show, bool re GLX_RED_SIZE, 4, GLX_GREEN_SIZE, 4, GLX_BLUE_SIZE, 4, + GLX_STENCIL_SIZE, 8, None }; @@ -1068,6 +1069,7 @@ bool CDriverGL::setDisplay(nlWindow wnd, const GfxMode &mode, bool show, bool re GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, + GLX_STENCIL_SIZE, 8, None }; @@ -1081,6 +1083,7 @@ bool CDriverGL::setDisplay(nlWindow wnd, const GfxMode &mode, bool show, bool re GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8, GLX_ALPHA_SIZE, 8, + GLX_STENCIL_SIZE, 8, None };