remove mySDL_Swap24

This commit is contained in:
Glenn Maynard
2004-06-13 07:11:49 +00:00
parent a6f0b840e9
commit ec7a148b82
2 changed files with 1 additions and 16 deletions
+1 -7
View File
@@ -2,11 +2,11 @@
#include "SDL.h"
#include "SDL_utils.h"
#include "SDL_endian.h"
#include "SDL_rotozoom.h" // for setting icon
#include "RageSurface_Load.h"
#include "RageFile.h"
#include "RageLog.h"
#include "RageUtil.h"
/* Pull in all of our SDL libraries here. */
#ifdef _XBOX
@@ -23,12 +23,6 @@
#endif
#endif
Uint32 mySDL_Swap24(Uint32 x)
{
return SDL_Swap32(x) >> 8; // xx223344 -> 443322xx -> 00443322
}
/* These conditionals in the inner loop are slow. Templates? */
inline Uint32 decodepixel(const Uint8 *p, int bpp)
{