From 141975cfd22b21403383ea5213cb85ef5427fc9e Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 18 Aug 2005 13:11:12 +0000 Subject: Semi-separated OpenGL and SDL graphics classes, improving OpenGL performance. --- src/resources/image.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources') 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: /** -- cgit v1.2.3-70-g09d2