From 08265f2802c000dc29a64ed3d3057f31547490ee Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 19 Oct 2009 10:09:58 +0000 Subject: [PATCH] Fixed compiler warnings --- src/video/SDL_blit.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h index fc20ba04a..756b72a5d 100644 --- a/src/video/SDL_blit.h +++ b/src/video/SDL_blit.h @@ -166,7 +166,7 @@ do { \ } while(0) /* Assemble R-G-B values into a specified pixel format and store them */ -#ifdef __NDS__ // FIXME +#ifdef __NDS__ /* FIXME */ #define PIXEL_FROM_RGB(Pixel, fmt, r, g, b) \ { \ Pixel = ((r>>fmt->Rloss)<Rshift)| \ @@ -180,7 +180,7 @@ do { \ ((g>>fmt->Gloss)<Gshift)| \ ((b>>fmt->Bloss)<Bshift); \ } -#endif // __NDS__ FIXME +#endif /* __NDS__ FIXME */ #define RGB565_FROM_RGB(Pixel, r, g, b) \ { \ Pixel = ((r>>3)<<11)|((g>>2)<<5)|(b>>3); \ @@ -330,7 +330,7 @@ do { \ } while(0) /* FIXME: this isn't correct, especially for Alpha (maximum != 255) */ -#ifdef __NDS__ // FIXME +#ifdef __NDS__ /* FIXME */ #define PIXEL_FROM_RGBA(Pixel, fmt, r, g, b, a) \ { \ Pixel = ((r>>fmt->Rloss)<Rshift)| \ @@ -346,7 +346,7 @@ do { \ ((b>>fmt->Bloss)<Bshift)| \ ((a>>fmt->Aloss)<Ashift); \ } -#endif // __NDS__ FIXME +#endif /* __NDS__ FIXME */ #define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a) \ { \ switch (bpp) { \