client: remove SDL_BYTEORDER usage

Make use of CMake endian checking in this places too.
This commit is contained in:
Konstantin committed 2023-02-03 00:37:37 +03:00
1 parent cffdabf48e
commit 88ef83db53
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ SDL_Surface * BitmapHandler::loadH3PCX(ui8 * pcx, size_t size)
}
else
{
#if (SDL_BYTEORDER == SDL_BIG_ENDIAN)
#ifdef VCMI_ENDIAN_BIG
int bmask = 0xff0000;
int gmask = 0x00ff00;
int rmask = 0x0000ff;