|
|
@ -28,16 +28,7 @@ |
|
|
|
//===============================================================================
|
|
|
|
//===============================================================================
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once |
|
|
|
#pragma once |
|
|
|
|
|
|
|
#include "SDL_opengl.h" |
|
|
|
#ifdef OSX |
|
|
|
|
|
|
|
#include <OpenGL/gl.h> |
|
|
|
|
|
|
|
#include <OpenGL/glext.h> |
|
|
|
|
|
|
|
#elif defined(DX_TO_GL_ABSTRACTION) |
|
|
|
|
|
|
|
#include <GL/gl.h> |
|
|
|
|
|
|
|
#include <GL/glext.h> |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
#error |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef GL_EXT_framebuffer_sRGB |
|
|
|
#ifndef GL_EXT_framebuffer_sRGB |
|
|
|
#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 |
|
|
|
#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 |
|
|
|