From 85c0d42616d4ee1bb9d9b978e440a9a966fc5592 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 8 Jan 2009 14:30:29 +0000 Subject: (svn r14912) -Codechange: Autoprobe 'null' blitter when built as dedicated-only. --- src/blitter/factory.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/blitter') diff --git a/src/blitter/factory.hpp b/src/blitter/factory.hpp index 7ac8dbde5..4f7a4b108 100644 --- a/src/blitter/factory.hpp +++ b/src/blitter/factory.hpp @@ -79,6 +79,9 @@ public: */ static Blitter *SelectBlitter(const char *name) { +#if defined(DEDICATED) + const char *default_blitter = "null"; +#else const char *default_blitter = "8bpp-optimized"; #if defined(WITH_COCOA) @@ -90,6 +93,7 @@ public: default_blitter = "32bpp-anim"; } #endif /* defined(WITH_COCOA) */ +#endif /* defined(DEDICATED) */ if (GetBlitters().size() == 0) return NULL; const char *bname = (StrEmpty(name)) ? default_blitter : name; -- cgit v1.2.3-70-g09d2