Fix OpenGL3 driver to compile standalone

also test this configuration in CI
This commit is contained in:
sfan5
2023-04-06 12:07:53 +02:00
parent e850bd102a
commit ca5f005b74
8 changed files with 6 additions and 20 deletions

View 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;
}