summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r--src/resources/openglimagehelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index 120288b3f..841f9b3ae 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -27,7 +27,7 @@
#include "resources/dye.h"
#include "resources/resourcemanager.h"
-#include "openglgraphics.h"
+#include "normalopenglgraphics.h"
#include "safeopenglgraphics.h"
#include "client.h"
@@ -213,7 +213,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage)
GLuint texture;
glGenTextures(1, &texture);
if (mUseOpenGL == 1)
- OpenGLGraphics::bindTexture(mTextureType, texture);
+ NormalOpenGLGraphics::bindTexture(mTextureType, texture);
else if (mUseOpenGL == 2)
SafeOpenGLGraphics::bindTexture(mTextureType, texture);