OpenGL: remove unused OpenGL headers

This commit is contained in:
degasus 2014-01-23 18:52:57 +01:00
parent bfd0b7275e
commit 65121cf9a9
3 changed files with 0 additions and 23 deletions

View File

@ -10,13 +10,6 @@
#include "GLInterface/GLInterface.h" #include "GLInterface/GLInterface.h"
#include "GLExtensions/GLExtensions.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 #ifndef _WIN32
#include <sys/types.h> #include <sys/types.h>
@ -48,9 +41,4 @@ __forceinline GLenum GL_REPORT_ERROR() { return GL_NO_ERROR; }
#define DEBUG_GLSL 0 #define DEBUG_GLSL 0
#endif #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_ #endif // _GLINIT_H_

View File

@ -63,11 +63,6 @@
#include "AVIDump.h" #include "AVIDump.h"
#endif #endif
// glew1.8 doesn't define KHR_debug
#ifndef GL_DEBUG_OUTPUT
#define GL_DEBUG_OUTPUT 0x92E0
#endif
void VideoConfig::UpdateProjectionHack() void VideoConfig::UpdateProjectionHack()
{ {

View File

@ -10,12 +10,6 @@
#include "FramebufferManager.h" #include "FramebufferManager.h"
#include "GLUtil.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 namespace OGL
{ {