Fixed some compiler warnings about "unreachable code" on Watcom C.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401158
This commit is contained in:
parent
197396555b
commit
7ad062e148
2 changed files with 7 additions and 5 deletions
|
@ -712,8 +712,9 @@ int SDL_FillRect(SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color)
|
|||
break;
|
||||
|
||||
case 3:
|
||||
if(SDL_BYTEORDER == SDL_BIG_ENDIAN)
|
||||
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
color <<= 8;
|
||||
#endif
|
||||
for ( y=dstrect->h; y; --y ) {
|
||||
Uint8 *pixels = row;
|
||||
for ( x=dstrect->w; x; --x ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue