diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-28 16:30:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-29 00:18:56 +0300 |
commit | 57726c7324f165c70671fc5b05d6c0964f56b870 (patch) | |
tree | 8a9f37914c18f9c6ec6d64da08834af245afe0f3 /src/debug.h | |
parent | ee1a05faf157c8c9f0f43cf5b906d84f39ded497 (diff) | |
download | plus-57726c7324f165c70671fc5b05d6c0964f56b870.tar.gz plus-57726c7324f165c70671fc5b05d6c0964f56b870.tar.bz2 plus-57726c7324f165c70671fc5b05d6c0964f56b870.tar.xz plus-57726c7324f165c70671fc5b05d6c0964f56b870.zip |
improve debug checkers.
add missing surface functions for debugging.
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h index a250aef68..079cebeac 100644 --- a/src/debug.h +++ b/src/debug.h @@ -52,6 +52,10 @@ #define MTTF_RenderUTF8_Blended(font, text, fg) \ FakeTTF_RenderUTF8_Blended(font, text, fg, __FILE__, __LINE__) #define MIMG_Load(file) FakeIMG_Load(file, __FILE__, __LINE__) +#define MSDL_DisplayFormatAlpha(surface) \ + FakeSDL_DisplayFormatAlpha(surface, __FILE__, __LINE__) +#define MSDL_DisplayFormat(surface) \ + FakeSDL_DisplayFormat(surface, __FILE__, __LINE__) #else @@ -64,5 +68,7 @@ #define MTTF_RenderUTF8_Blended(font, text, fg) \ TTF_RenderUTF8_Blended(font, text, fg) #define MIMG_Load(file) IMG_Load(file) +#define MSDL_DisplayFormatAlpha(surface) SDL_DisplayFormatAlpha(surface) +#define MSDL_DisplayFormat(surface) SDL_DisplayFormat(surface) #endif // ENABLE_SDL_DEBUG |