summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r--src/being/compoundsprite.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp
index 6c159821d..26a2268f3 100644
--- a/src/being/compoundsprite.cpp
+++ b/src/being/compoundsprite.cpp
@@ -45,11 +45,13 @@
#include "debug.h"
+#ifndef USE_SDL2
static const int BUFFER_WIDTH = 100;
static const int BUFFER_HEIGHT = 100;
-
static const unsigned cache_max_size = 10;
static const unsigned cache_clean_part = 3;
+#endif
+
bool CompoundSprite::mEnableDelay = true;
CompoundSprite::CompoundSprite() :