use Amask from real engine

This commit is contained in:
Vincent Wei
2023-03-03 10:57:15 +08:00
parent e0cc3b5580
commit 11be6af9d3
+1 -1
View File
@@ -307,7 +307,7 @@ static int RealEngine_GetInfo (RealFBInfo * realfb_info)
real_device->screen = GAL_CreateRGBSurface (GAL_SWSURFACE,
0, 0, real_vformat.BitsPerPixel, real_vformat.Rmask,
real_vformat.Gmask, real_vformat.Bmask, 0);
real_vformat.Gmask, real_vformat.Bmask, real_vformat.Amask);
if (real_device->screen == NULL)
_ERR_PRINTF ("NEWGAL>SHADOW: can't create screen of real engine.\n");