From 196cc38da19b867eaa9419343dd6ecd8212af354 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Oct 2012 19:48:26 +0300 Subject: Fix compilation errors and warnings in different modes. --- src/resources/resourcemanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/resourcemanager.cpp') diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index f67bbf71b..3c5e35738 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -720,6 +720,7 @@ Image *ResourceManager::getSubImage(Image *const parent, return static_cast(get(ss.str(), SubImageLoader::load, &rl)); } +#ifdef USE_OPENGL struct AtlasLoader { const std::string name; @@ -745,6 +746,7 @@ Resource *ResourceManager::getAtlas(const std::string &name, return get("atlas_" + name, AtlasLoader::load, &rl); } +#endif struct SpriteDefLoader { -- cgit v1.2.3-70-g09d2