summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index b31ecb29e..ed42991bb 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -58,6 +58,9 @@ class Image : public Resource
friend class SDLGraphics;
friend class SDLImageHelper;
friend class SurfaceGraphics;
+#ifdef USE_SDL2
+ friend class SurfaceImageHelper;
+#endif
friend class TestLauncher;
#ifdef USE_OPENGL
friend class AtlasManager;