summaryrefslogtreecommitdiff
path: root/src/utils/sdlcheckutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-28 16:30:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-29 00:18:56 +0300
commit57726c7324f165c70671fc5b05d6c0964f56b870 (patch)
tree8a9f37914c18f9c6ec6d64da08834af245afe0f3 /src/utils/sdlcheckutils.h
parentee1a05faf157c8c9f0f43cf5b906d84f39ded497 (diff)
downloadplus-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/utils/sdlcheckutils.h')
-rw-r--r--src/utils/sdlcheckutils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/sdlcheckutils.h b/src/utils/sdlcheckutils.h
index 5a29ab1ba..5bfdad3ed 100644
--- a/src/utils/sdlcheckutils.h
+++ b/src/utils/sdlcheckutils.h
@@ -63,5 +63,13 @@ SDL_Surface *FakeTTF_RenderUTF8_Blended(_TTF_Font *const font,
SDL_Surface *FakeIMG_Load(const char *name, const char *const file,
const unsigned line);
+SDL_Surface *FakeSDL_DisplayFormat(SDL_Surface *const surface,
+ const char *const file,
+ const unsigned line);
+
+SDL_Surface *FakeSDL_DisplayFormatAlpha(SDL_Surface *const surface,
+ const char *const file,
+ const unsigned line);
+
#endif // DEBUG_SDL_SURFACES
#endif // UTILS_SDLCHECKUTILS_H