mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
silence opengl deprecation warnings from newer mac sdks.
This commit is contained in:
parent
824f01031e
commit
848aa26b3c
2 changed files with 10 additions and 1 deletions
|
@ -1161,6 +1161,7 @@
|
|||
GCC_MODEL_TUNING = G5;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GL_SILENCE_DEPRECATION=1",
|
||||
USE_SDL2,
|
||||
USE_CODEC_MP3,
|
||||
USE_CODEC_VORBIS,
|
||||
|
@ -1203,6 +1204,7 @@
|
|||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||
GCC_MODEL_TUNING = G5;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GL_SILENCE_DEPRECATION=1",
|
||||
USE_SDL2,
|
||||
USE_CODEC_MP3,
|
||||
USE_CODEC_VORBIS,
|
||||
|
@ -1257,6 +1259,7 @@
|
|||
GCC_MODEL_TUNING = G5;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GL_SILENCE_DEPRECATION=1",
|
||||
USE_CODEC_MP3,
|
||||
USE_CODEC_VORBIS,
|
||||
USE_CODEC_WAVE,
|
||||
|
@ -1293,6 +1296,7 @@
|
|||
FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)\"";
|
||||
GCC_MODEL_TUNING = G5;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GL_SILENCE_DEPRECATION=1",
|
||||
USE_CODEC_MP3,
|
||||
USE_CODEC_VORBIS,
|
||||
USE_CODEC_WAVE,
|
||||
|
@ -1348,7 +1352,10 @@
|
|||
"$(FRAMEWORK_SEARCH_PATHS)",
|
||||
);
|
||||
GCC_MODEL_TUNING = G3;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = SDL_FRAMEWORK;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GL_SILENCE_DEPRECATION=1",
|
||||
SDL_FRAMEWORK,
|
||||
);
|
||||
GCC_VERSION = "";
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
|
@ -1383,6 +1390,7 @@
|
|||
);
|
||||
GCC_MODEL_TUNING = G3;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GL_SILENCE_DEPRECATION=1",
|
||||
USE_CODEC_MP3,
|
||||
USE_CODEC_VORBIS,
|
||||
USE_CODEC_WAVE,
|
||||
|
|
|
@ -106,6 +106,7 @@ endif
|
|||
ifeq ($(USE_SDL2),1)
|
||||
CFLAGS += -DUSE_SDL2
|
||||
endif
|
||||
CFLAGS += -DGL_SILENCE_DEPRECATION=1
|
||||
|
||||
# not relying on sdl-config command and assuming
|
||||
# /Library/Frameworks/SDL.framework is available
|
||||
|
|
Loading…
Reference in a new issue