summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-18 13:11:12 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-18 13:11:12 +0000
commit141975cfd22b21403383ea5213cb85ef5427fc9e (patch)
tree6a9acf54dc1b3b95d873b48d5d292f72e6cdcf07 /src/resources
parentb0867dde000892f1aab803bf7d06a51d799baf43 (diff)
downloadmana-141975cfd22b21403383ea5213cb85ef5427fc9e.tar.gz
mana-141975cfd22b21403383ea5213cb85ef5427fc9e.tar.bz2
mana-141975cfd22b21403383ea5213cb85ef5427fc9e.tar.xz
mana-141975cfd22b21403383ea5213cb85ef5427fc9e.zip
Semi-separated OpenGL and SDL graphics classes, improving OpenGL performance.
Diffstat (limited to 'src/resources')
-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:
/**