From 57726c7324f165c70671fc5b05d6c0964f56b870 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Aug 2013 16:30:50 +0300 Subject: improve debug checkers. add missing surface functions for debugging. --- src/debug.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/debug.h') 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 -- cgit v1.2.3-60-g2f50