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 b99ad189..a4a65787 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -37,6 +37,9 @@
class Image : public Resource
{
friend class Graphics;
+#ifdef USE_OPENGL
+ friend class OpenGLGraphics;
+#endif
public:
/**