aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl
diff options
context:
space:
mode:
authorJohannes Schickel2014-01-23 15:23:12 -0800
committerJohannes Schickel2014-01-23 15:23:12 -0800
commit2fe303ce3fff008a58e9750c66e707ec4e7c93d8 (patch)
treef4ba16f62f0a054c596d65dd8796ef7323a6b535 /backends/graphics/opengl
parent29eeb91d4e0f7862815cd3129441ba3dfeee85c1 (diff)
parenta7f94591b03984978b77bad069a2456417b55df9 (diff)
downloadscummvm-rg350-2fe303ce3fff008a58e9750c66e707ec4e7c93d8.tar.gz
scummvm-rg350-2fe303ce3fff008a58e9750c66e707ec4e7c93d8.tar.bz2
scummvm-rg350-2fe303ce3fff008a58e9750c66e707ec4e7c93d8.zip
Merge pull request #409 from lordhoto/rtti
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
Diffstat (limited to 'backends/graphics/opengl')
-rw-r--r--backends/graphics/opengl/opengl-graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h
index d2d0358407..93c0c5bc83 100644
--- a/backends/graphics/opengl/opengl-graphics.h
+++ b/backends/graphics/opengl/opengl-graphics.h
@@ -47,7 +47,7 @@ enum {
GFX_NEAREST = 1
};
-class OpenGLGraphicsManager : public GraphicsManager {
+class OpenGLGraphicsManager : virtual public GraphicsManager {
public:
OpenGLGraphicsManager();
virtual ~OpenGLGraphicsManager();