remove mySDL_Swap24
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user