summaryrefslogtreecommitdiff
path: root/src/sandbox/sprite.c
diff options
context:
space:
mode:
authorLudovic Pouzenc <lpouzenc@gmail.com>2013-07-18 20:55:55 +0200
committerLudovic Pouzenc <lpouzenc@gmail.com>2013-07-18 20:55:55 +0200
commit2e8fce8250fdfc6c6d644c9354d4a3318975bae8 (patch)
tree058b876910dfb3353cab52f425f837205ee7843b /src/sandbox/sprite.c
parentf02db00ad4f41b4d098557a63461f6c5766c3273 (diff)
downloadmplemmings-2e8fce8250fdfc6c6d644c9354d4a3318975bae8.tar.gz
mplemmings-2e8fce8250fdfc6c6d644c9354d4a3318975bae8.tar.bz2
mplemmings-2e8fce8250fdfc6c6d644c9354d4a3318975bae8.zip
Fin du codage de testrender.c. Diverses mises au point autour de ca.
Bug connu : la police de grande taille ne se charge pas bien. Texture trop longue ?
Diffstat (limited to 'src/sandbox/sprite.c')
-rw-r--r--src/sandbox/sprite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sandbox/sprite.c b/src/sandbox/sprite.c
index ec33b36..0223997 100644
--- a/src/sandbox/sprite.c
+++ b/src/sandbox/sprite.c
@@ -108,7 +108,7 @@ void my_SDL_init_or_die(char title[], SDL_Rect win_pos, Uint32 init_flags, Uint3
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION,SDL_LOG_PRIORITY_INFO,
- "SDL_GetWindowPixelFormat() returns %i", SDL_GetWindowPixelFormat(*win)
+ "SDL_GetWindowPixelFormat() returns 0x%x", SDL_GetWindowPixelFormat(*win)
);
*rend=SDL_CreateRenderer(*win,-1, rend_flags);
@@ -132,7 +132,7 @@ void my_SDL_init_or_die(char title[], SDL_Rect win_pos, Uint32 init_flags, Uint3
tf=rend_info->texture_formats[i];
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION,SDL_LOG_PRIORITY_INFO,
- "rend_info->texture_formats[%i] == %i", i, tf
+ "rend_info->texture_formats[%i] == 0x%x", i, tf
);
}