mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 12:35:27 +00:00
OpenGL: remove unused OpenGL headers
This commit is contained in:
parent
bfd0b7275e
commit
65121cf9a9
@ -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 <sys/types.h>
|
||||
@ -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_
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user