spectator mode fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1473 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -246,6 +246,7 @@ bool cmpf(char *fn, enet_uint32 c)
|
||||
|
||||
void endianswap(void *memory, int stride, int length) // little endian as storage format
|
||||
{
|
||||
#ifdef SDL_BYTEORDER
|
||||
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
loop(w, length) loop(i, stride/2)
|
||||
{
|
||||
@@ -255,4 +256,5 @@ void endianswap(void *memory, int stride, int length) // little endian as stor
|
||||
p[stride-i-1] = t;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user