[Fix #6] Use MSB byte ordering for video blitting

This commit is contained in:
InvisibleUp 2023-11-26 13:58:38 -08:00
parent aa741960fe
commit 7321519490
2 changed files with 2 additions and 8 deletions

View File

@ -67,9 +67,9 @@ uint32_t GetPixFormatFromDepth(int depth)
switch(depth)
{
case 1:
return SDL_PIXELFORMAT_INDEX1LSB;
return SDL_PIXELFORMAT_INDEX1MSB;
case 4:
return SDL_PIXELFORMAT_INDEX4LSB;
return SDL_PIXELFORMAT_INDEX4MSB;
case 8:
return SDL_PIXELFORMAT_INDEX8;
case 16:

View File

@ -1,11 +1,5 @@
{
"dependencies": [
"sdl2"
],
"overrides": [
{
"name": "sdl2",
"version": "2.26.5"
}
]
}