diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-01 13:58:19 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-02 10:34:13 -0600 |
| commit | 37525f3fcf98a46391827884d26184bbe18ac0a6 (patch) | |
| tree | 24aaff05cc71c29d3e5d13ffbbb3e4304a6bd55f /Source/Core/VideoBackends/OGL/Render.cpp | |
| parent | b4e9bbb5516070fbed6fe49b90b00136f8e6f7e8 (diff) | |
Make GLExtensions no longer require slghtly modified GL headers.
In fact, removes the need for external headers at all.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/Render.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/Render.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index a311420477..70e66b8cd4 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -90,7 +90,7 @@ static bool s_efbCacheValid[2][EFB_CACHE_WIDTH * EFB_CACHE_HEIGHT]; static bool s_efbCacheIsCleared = false; static std::vector<u32> s_efbCache[2][EFB_CACHE_WIDTH * EFB_CACHE_HEIGHT]; // 2 for PEEK_Z and PEEK_COLOR -static void GLAPIENTRY ErrorCallback( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* message, const void* userParam) +static void APIENTRY ErrorCallback( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* message, const void* userParam) { const char *s_source; const char *s_type; @@ -126,11 +126,11 @@ static void GLAPIENTRY ErrorCallback( GLenum source, GLenum type, GLuint id, GLe } // Two small Fallbacks to avoid GL_ARB_ES2_compatibility -static void GLAPIENTRY DepthRangef(GLfloat neardepth, GLfloat fardepth) +static void APIENTRY DepthRangef(GLfloat neardepth, GLfloat fardepth) { glDepthRange(neardepth, fardepth); } -static void GLAPIENTRY ClearDepthf(GLfloat depthval) +static void APIENTRY ClearDepthf(GLfloat depthval) { glClearDepth(depthval); } |
