summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/image.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 8e4360e6..172ff0f0 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -154,11 +154,8 @@ Image *Image::load(SDL_Surface *tmpImage)
{
#ifdef USE_OPENGL
if (mUseOpenGL)
- {
return _GLload(tmpImage);
- }
#endif
-
return _SDLload(tmpImage);
}