summaryrefslogtreecommitdiff
path: root/src/resources/surfaceimagehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/surfaceimagehelper.cpp')
-rw-r--r--src/resources/surfaceimagehelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/surfaceimagehelper.cpp b/src/resources/surfaceimagehelper.cpp
index 44cee32d9..b249dfea9 100644
--- a/src/resources/surfaceimagehelper.cpp
+++ b/src/resources/surfaceimagehelper.cpp
@@ -144,9 +144,9 @@ Image *SurfaceImageHelper::_SDLload(SDL_Surface *tmpImage) const
return new Image(image, false, nullptr);
}
-int SurfaceImageHelper::useOpenGL() const
+RenderType SurfaceImageHelper::useOpenGL() const
{
- return 0;
+ return RENDER_SOFTWARE;
}
SDL_Surface *SurfaceImageHelper::create32BitSurface(int width,