mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-04 23:25:30 +00:00
Silence a warning on macOS
This commit is contained in:
parent
7277ae93fa
commit
18833ad271
@ -31,9 +31,11 @@
|
||||
#define OPENGL_INCLUDES_H
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifndef GL_SILENCE_DEPRECATION
|
||||
// Apple, in their infinite wisdom, has decided to mark OpenGL as deprecated.
|
||||
// Luckily we can silence warnings about its deprecation.
|
||||
#define GL_SILENCE_DEPRECATION 1
|
||||
#endif
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user