summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/openglimagehelper.cpp5
-rw-r--r--src/resources/safeopenglimagehelper.cpp5
-rw-r--r--src/resources/sdlimagehelper.cpp5
3 files changed, 0 insertions, 15 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 6c30c6a73..21d56e500 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -46,11 +46,6 @@
#include "utils/checkutils.h"
#include "utils/sdlcheckutils.h"
-PRAGMA48(GCC diagnostic push)
-PRAGMA48(GCC diagnostic ignored "-Wshadow")
-#include <SDL_image.h>
-PRAGMA48(GCC diagnostic pop)
-
#include "debug.h"
#ifndef SDL_BIG_ENDIAN
diff --git a/src/resources/safeopenglimagehelper.cpp b/src/resources/safeopenglimagehelper.cpp
index 2fcff7eb0..00e37e9aa 100644
--- a/src/resources/safeopenglimagehelper.cpp
+++ b/src/resources/safeopenglimagehelper.cpp
@@ -42,11 +42,6 @@
#include "utils/sdlcheckutils.h"
-PRAGMA48(GCC diagnostic push)
-PRAGMA48(GCC diagnostic ignored "-Wshadow")
-#include <SDL_image.h>
-PRAGMA48(GCC diagnostic pop)
-
#include "debug.h"
#ifndef SDL_BIG_ENDIAN
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp
index fecd11482..d941931e4 100644
--- a/src/resources/sdlimagehelper.cpp
+++ b/src/resources/sdlimagehelper.cpp
@@ -32,11 +32,6 @@
#include "utils/checkutils.h"
#include "utils/sdlcheckutils.h"
-PRAGMA48(GCC diagnostic push)
-PRAGMA48(GCC diagnostic ignored "-Wshadow")
-#include <SDL_image.h>
-PRAGMA48(GCC diagnostic pop)
-
#include "localconsts.h"
#if SDL_BYTEORDER == SDL_LIL_ENDIAN