]> git.lizzy.rs Git - irrlicht.git/blobdiff - source/Irrlicht/CSDLManager.cpp
Fix OpenGL3 driver to compile standalone
[irrlicht.git] / source / Irrlicht / CSDLManager.cpp
index 3132b60a1600fb1b37f816adb6dcc7b1fa4e2ef9..b8c61a4d17f65a4ffc89c541b86e5a2ee2cd93b2 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "CSDLManager.h"
 
-#if defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && defined(_IRR_COMPILE_WITH_OPENGL_)
+#if defined(_IRR_COMPILE_WITH_SDL_DEVICE_)
 
 #include "CIrrDeviceSDL.h"
 #include "COpenGLCommon.h"
@@ -34,8 +34,6 @@ const SExposedVideoData& CSDLManager::getContext() const
 
 bool CSDLManager::activateContext(const SExposedVideoData& videoData, bool restorePrimaryOnZero)
 {
-       // unclear if this is still needed:
-       glFrontFace(GL_CW);
        return true;
 }