diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-11-23 21:35:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 21:35:45 +0100 |
commit | 958786166218462b4dea46847cbbeb6de339360b (patch) | |
tree | d200e69889f577fbc56c84731260068fa89cc82b /drivers/gles2 | |
parent | aa63b86febad156d148a5268534ce3012573d4b8 (diff) | |
parent | c5ebf384900ca595e67ff103d44e88acfbb0344a (diff) |
Merge pull request #23936 from akien-mga/glad-glapientry
Remove GLAPIENTRY defines from rasterizer, now included in glad.h
Diffstat (limited to 'drivers/gles2')
-rw-r--r-- | drivers/gles2/rasterizer_gles2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gles2/rasterizer_gles2.cpp b/drivers/gles2/rasterizer_gles2.cpp index 175587b1bb..f49dbfeabb 100644 --- a/drivers/gles2/rasterizer_gles2.cpp +++ b/drivers/gles2/rasterizer_gles2.cpp @@ -58,11 +58,13 @@ #define _EXT_DEBUG_SEVERITY_LOW_ARB 0x9148 #define _EXT_DEBUG_OUTPUT 0x92E0 -#if (defined WINDOWS_ENABLED) && !(defined UWP_ENABLED) +#ifndef GLAPIENTRY +#if defined(WINDOWS_ENABLED) && !defined(UWP_ENABLED) #define GLAPIENTRY APIENTRY #else #define GLAPIENTRY #endif +#endif #if !defined(GLES_OVER_GL) && !defined(IPHONE_ENABLED) // Used for debugging on mobile, but not iOS as EGL is not available |