From 720a615aa6b60675793be089ba1e626ca1548d81 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 28 Sep 2009 07:58:58 +0000 Subject: [PATCH] Fixed compile issue --HG-- branch : SDL-1.2 --- src/video/fbcon/SDL_fbvideo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/fbcon/SDL_fbvideo.c b/src/video/fbcon/SDL_fbvideo.c index d6ece3147..81a89daa4 100644 --- a/src/video/fbcon/SDL_fbvideo.c +++ b/src/video/fbcon/SDL_fbvideo.c @@ -1118,8 +1118,10 @@ static SDL_Surface *FB_SetVideoMode(_THIS, SDL_Surface *current, rotate == FBCON_ROTATE_UD) ? FB_blit16 : FB_blit16blocked; } else { +#ifdef FBCON_DEBUG fprintf(stderr, "Init vinfo:\n"); print_vinfo(&vinfo); +#endif SDL_SetError("Using software buffer, but no blitter " "function is available for %d bpp.", vinfo.bits_per_pixel);