Browse Source

external,Platform: suppress GL deprecation warnigs on iOS as well.

Got done in 7ced4740fd and
f3fc17e2b0 for CGL and OpenAL, but ever
since Travis decided we're not worthy of using their services, I didn't
have a chance to check the warning in the iOS build. Now I have.
pull/240/merge
Vladimír Vondruš 4 years ago
parent
commit
1fdd6416c9
  1. 1
      src/Magnum/Platform/WindowlessIosApplication.mm
  2. 1
      src/MagnumExternal/OpenGL/GLES2/flextGLPlatformIOS.cpp
  3. 1
      src/MagnumExternal/OpenGL/GLES3/flextGLPlatformIOS.cpp

1
src/Magnum/Platform/WindowlessIosApplication.mm

@ -31,6 +31,7 @@
#include "Magnum/GL/Version.h" #include "Magnum/GL/Version.h"
#include "Magnum/Platform/GLContext.h" #include "Magnum/Platform/GLContext.h"
#define GLES_SILENCE_DEPRECATION /* YES I KNOW, APPLE! FFS */
#import "EAGL.h" #import "EAGL.h"
#if __has_feature(objc_arc) #if __has_feature(objc_arc)

1
src/MagnumExternal/OpenGL/GLES2/flextGLPlatformIOS.cpp vendored

@ -162,6 +162,7 @@
#undef glGenVertexArraysOES #undef glGenVertexArraysOES
#undef glIsVertexArrayOES #undef glIsVertexArrayOES
#define GLES_SILENCE_DEPRECATION /* YES I KNOW, APPLE! FFS */
#include <OpenGLES/ES2/glext.h> #include <OpenGLES/ES2/glext.h>
void flextGLInit(Magnum::GL::Context&) { void flextGLInit(Magnum::GL::Context&) {

1
src/MagnumExternal/OpenGL/GLES3/flextGLPlatformIOS.cpp vendored

@ -160,6 +160,7 @@
#undef glTexStorage3DMultisampleOES #undef glTexStorage3DMultisampleOES
#undef glFramebufferTextureMultiviewOVR #undef glFramebufferTextureMultiviewOVR
#define GLES_SILENCE_DEPRECATION /* YES I KNOW, APPLE! FFS */
#include <OpenGLES/ES3/glext.h> #include <OpenGLES/ES3/glext.h>
void flextGLInit(Magnum::GL::Context&) { void flextGLInit(Magnum::GL::Context&) {

Loading…
Cancel
Save