diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-06 15:24:47 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-06 15:24:47 -0500 |
| commit | 0a42a0ab1b4f038b30c02efc14922dcf913064f6 (patch) | |
| tree | e196623945e746eb84d9129a0be6f4f578ee284e /Source/Core/VideoBackends/OGL/Render.cpp | |
| parent | 342496563dc2fd129c6ab3831b181eb0875f46d0 (diff) | |
| parent | 73d4cf6361268e5039f85047a45ae5b9108496b8 (diff) | |
Merge pull request #3428 from Sonicadvance1/proper_glextensions
Make GLExtensions no longer require slghtly modified GL headers
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 7360cd72ba..620bb5a9f3 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -81,7 +81,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; @@ -117,11 +117,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); } |
