Temporary workaround for palette or GL surface issue wherein launching Mapster32 into 2d mode produces a black screen until switching to 3d mode and back

git-svn-id: https://svn.eduke32.com/eduke32@6930 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-06-24 00:55:29 +00:00
parent bcb7815118
commit d0e73aa85e

View file

@ -769,7 +769,7 @@ int app_main(int argc, char const * const * argv)
g_videoBrightness = 0.0;
videoSetPalette(0,0,0);
if (videoSetGameMode(fullscreen, xdim2d, ydim2d, 8) < 0)
if (videoSetGameMode(fullscreen, xdim2d, ydim2d, bppgame) < 0)
{
CallExtUnInit();
engineUnInit();