summaryrefslogtreecommitdiff
path: root/src/resources/openglimagehelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-19 21:15:55 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-19 21:15:55 +0300
commit4503b047574e1374d16d2bec7e10285f59cc6d51 (patch)
treed7efb46c3154b2dd1487751d18c4a2f91ec87c07 /src/resources/openglimagehelper.cpp
parentc4acdd1997b5bdc7b70e52ea90354ee65f15360a (diff)
downloadmv-4503b047574e1374d16d2bec7e10285f59cc6d51.tar.gz
mv-4503b047574e1374d16d2bec7e10285f59cc6d51.tar.bz2
mv-4503b047574e1374d16d2bec7e10285f59cc6d51.tar.xz
mv-4503b047574e1374d16d2bec7e10285f59cc6d51.zip
Rename opengl1graphics to safeopenglgraphics.
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 ae3b55741..120288b3f 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -28,7 +28,7 @@
#include "resources/resourcemanager.h"
#include "openglgraphics.h"
-#include "opengl1graphics.h"
+#include "safeopenglgraphics.h"
#include "client.h"
#include "logger.h"
@@ -215,7 +215,7 @@ Image *OpenGLImageHelper::glLoad(SDL_Surface *tmpImage)
if (mUseOpenGL == 1)
OpenGLGraphics::bindTexture(mTextureType, texture);
else if (mUseOpenGL == 2)
- OpenGL1Graphics::bindTexture(mTextureType, texture);
+ SafeOpenGLGraphics::bindTexture(mTextureType, texture);
if (SDL_MUSTLOCK(tmpImage))
SDL_LockSurface(tmpImage);