mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Fix OpenGL3 driver to compile standalone
also test this configuration in CI
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user