diff options
author | Alejandro Marzini | 2010-07-13 05:38:10 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-07-13 05:38:10 +0000 |
commit | 84ceae932852fe684ea553daee712b52da83add6 (patch) | |
tree | 13bc020842cff6ebc0d12685551c122ec3df4f12 /backends/graphics/openglsdl | |
parent | 5f86d1127528244f20296833889881e185f16795 (diff) | |
download | scummvm-rg350-84ceae932852fe684ea553daee712b52da83add6.tar.gz scummvm-rg350-84ceae932852fe684ea553daee712b52da83add6.tar.bz2 scummvm-rg350-84ceae932852fe684ea553daee712b52da83add6.zip |
Check if USE_OPENGL is defined for compiling OpenGL code.
svn-id: r50842
Diffstat (limited to 'backends/graphics/openglsdl')
-rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index b12c3af5cd..1b9ef6d663 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#ifdef USE_OPENGL + #include "backends/graphics/openglsdl/openglsdl-graphics.h" OpenGLSdlGraphicsManager::OpenGLSdlGraphicsManager() @@ -186,3 +188,5 @@ bool OpenGLSdlGraphicsManager::hotswapGFXMode() { void OpenGLSdlGraphicsManager::internUpdateScreen() { } + +#endif |