From 2e8fce8250fdfc6c6d644c9354d4a3318975bae8 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Thu, 18 Jul 2013 20:55:55 +0200 Subject: 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 ? --- src/sandbox/sprite_gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sandbox/sprite_gif.c') diff --git a/src/sandbox/sprite_gif.c b/src/sandbox/sprite_gif.c index 48657df..d2a3a70 100644 --- a/src/sandbox/sprite_gif.c +++ b/src/sandbox/sprite_gif.c @@ -110,7 +110,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); @@ -134,7 +134,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 ); } -- cgit v1.2.3