diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-04-26 11:56:07 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-04-26 11:56:07 +0200 |
| commit | 339bf9b4833361d7b47549b98c37c0a6a2b7cb6c (patch) | |
| tree | b35614ef821cb6df25d8cece9750972b821119cc /sokol_app.h | |
| parent | 5646166498d9e1cd9c8d1d6ac5f68eaa0d0bef9c (diff) | |
sokol_app.h: define the GL_SILENCE_DEPRECATION symbol inline instead of in build system
Diffstat (limited to 'sokol_app.h')
| -rw-r--r-- | sokol_app.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h index e9f23d5f..f4a207b3 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -938,6 +938,9 @@ _SOKOL_PRIVATE void _sapp_frame(void) { #import <Metal/Metal.h> #import <MetalKit/MetalKit.h> #elif defined(SOKOL_GLCORE33) +#ifndef GL_SILENCE_DEPRECATION +#define GL_SILENCE_DEPRECATION +#endif #include <Cocoa/Cocoa.h> #include <OpenGL/gl3.h> #endif |