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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/resourcemanager.h') diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 6f8b386f0..80461ce19 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -212,7 +212,9 @@ class ResourceManager final Image *getSubImage(Image *const parent, const int x, const int y, const int width, const int height); +#ifdef USE_OPENGL Resource *getAtlas(const std::string &name, const StringVect &files); +#endif /** * Creates a sprite definition based on a given path and the supplied -- cgit v1.2.3-70-g09d2