Skip to content

Commit e0d24a5

Browse files
author
lantus360
committed
fixed endian issue with 32bit texture
1 parent b6928e6 commit e0d24a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video/xenon/SDL_xenonvideo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ SDL_Surface *XENON_SetVideoMode(_THIS, SDL_Surface *current,
239239
case 24:
240240
case 32:
241241
pitch = width*4;
242-
pixel_mode = XE_FMT_8888;
242+
pixel_mode = XE_FMT_8888 | XE_FMT_ARGB;
243243
Rmask = 0x00FF0000;
244244
Gmask = 0x0000FF00;
245245
Bmask = 0x000000FF;

0 commit comments

Comments
 (0)