diff --git a/public/togl/linuxwin/glmgrext.h b/public/togl/linuxwin/glmgrext.h index 393942a7..c9d53772 100644 --- a/public/togl/linuxwin/glmgrext.h +++ b/public/togl/linuxwin/glmgrext.h @@ -28,16 +28,7 @@ //=============================================================================== #pragma once - -#ifdef OSX -#include -#include -#elif defined(DX_TO_GL_ABSTRACTION) -#include -#include -#else -#error -#endif +#include "SDL_opengl.h" #ifndef GL_EXT_framebuffer_sRGB #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 diff --git a/public/togl/rendermechanism.h b/public/togl/rendermechanism.h index 252095af..724485c1 100644 --- a/public/togl/rendermechanism.h +++ b/public/togl/rendermechanism.h @@ -34,13 +34,7 @@ #undef PROTECTED_THINGS_ENABLE -#ifdef OSX -#include -#else -#include -#include -#endif - +#include "SDL_opengl.h" #include "tier0/basetypes.h" #include "tier0/platform.h"