Fixed compiler warnings SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Mon, 19 Oct 2009 10:09:58 +0000
branchSDL-1.2
changeset 43672d00ed718720
parent 4366 f00e178dfc9e
child 4368 4c088d2b29eb
Fixed compiler warnings
src/video/SDL_blit.h
     1.1 --- a/src/video/SDL_blit.h	Mon Oct 19 10:03:16 2009 +0000
     1.2 +++ b/src/video/SDL_blit.h	Mon Oct 19 10:09:58 2009 +0000
     1.3 @@ -166,7 +166,7 @@
     1.4  } while(0)
     1.5  
     1.6  /* Assemble R-G-B values into a specified pixel format and store them */
     1.7 -#ifdef __NDS__ // FIXME
     1.8 +#ifdef __NDS__ /* FIXME */
     1.9  #define PIXEL_FROM_RGB(Pixel, fmt, r, g, b)				\
    1.10  {									\
    1.11  	Pixel = ((r>>fmt->Rloss)<<fmt->Rshift)|				\
    1.12 @@ -180,7 +180,7 @@
    1.13  		((g>>fmt->Gloss)<<fmt->Gshift)|				\
    1.14  		((b>>fmt->Bloss)<<fmt->Bshift);				\
    1.15  }
    1.16 -#endif // __NDS__ FIXME
    1.17 +#endif /* __NDS__ FIXME */
    1.18  #define RGB565_FROM_RGB(Pixel, r, g, b)					\
    1.19  {									\
    1.20  	Pixel = ((r>>3)<<11)|((g>>2)<<5)|(b>>3);			\
    1.21 @@ -330,7 +330,7 @@
    1.22  } while(0)
    1.23  
    1.24  /* FIXME: this isn't correct, especially for Alpha (maximum != 255) */
    1.25 -#ifdef __NDS__ // FIXME
    1.26 +#ifdef __NDS__ /* FIXME */
    1.27  #define PIXEL_FROM_RGBA(Pixel, fmt, r, g, b, a)				\
    1.28  {									\
    1.29  	Pixel = ((r>>fmt->Rloss)<<fmt->Rshift)|				\
    1.30 @@ -346,7 +346,7 @@
    1.31  		((b>>fmt->Bloss)<<fmt->Bshift)|				\
    1.32  		((a>>fmt->Aloss)<<fmt->Ashift);				\
    1.33  }
    1.34 -#endif // __NDS__ FIXME
    1.35 +#endif /* __NDS__ FIXME */
    1.36  #define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a)			\
    1.37  {									\
    1.38  	switch (bpp) {							\