diff --git a/Source/Core/VideoBackends/OGL/GLUtil.h b/Source/Core/VideoBackends/OGL/GLUtil.h index 2939821784..7d15399930 100644 --- a/Source/Core/VideoBackends/OGL/GLUtil.h +++ b/Source/Core/VideoBackends/OGL/GLUtil.h @@ -10,13 +10,6 @@ #include "GLInterface/GLInterface.h" #include "GLExtensions/GLExtensions.h" -#ifndef GL_DEPTH24_STENCIL8_EXT // allows FBOs to support stencils -#define GL_DEPTH_STENCIL_EXT 0x84F9 -#define GL_UNSIGNED_INT_24_8_EXT 0x84FA -#define GL_DEPTH24_STENCIL8_EXT 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 -#endif - #ifndef _WIN32 #include @@ -48,9 +41,4 @@ __forceinline GLenum GL_REPORT_ERROR() { return GL_NO_ERROR; } #define DEBUG_GLSL 0 #endif -// Isn't defined if we aren't using GLEW 1.6 -#ifndef GL_ONE_MINUS_SRC1_ALPHA -#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB -#endif - #endif // _GLINIT_H_ diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index a8067f151b..809b3684d3 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -63,11 +63,6 @@ #include "AVIDump.h" #endif -// glew1.8 doesn't define KHR_debug -#ifndef GL_DEBUG_OUTPUT -#define GL_DEBUG_OUTPUT 0x92E0 -#endif - void VideoConfig::UpdateProjectionHack() { diff --git a/Source/Core/VideoBackends/OGL/StreamBuffer.h b/Source/Core/VideoBackends/OGL/StreamBuffer.h index 1f64fa56ec..8e57b81d17 100644 --- a/Source/Core/VideoBackends/OGL/StreamBuffer.h +++ b/Source/Core/VideoBackends/OGL/StreamBuffer.h @@ -10,12 +10,6 @@ #include "FramebufferManager.h" #include "GLUtil.h" -// glew < 1.8 doesn't support pinned memory -#ifndef GLEW_AMD_pinned_memory -#define GLEW_AMD_pinned_memory glewIsSupported("GL_AMD_pinned_memory") -#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 -#endif - namespace OGL {