git-svn-id: https://svn.eduke32.com/eduke32@748 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-05-31 03:53:53 +00:00
parent ca83297b10
commit d0c714b125
2 changed files with 7 additions and 1 deletions

View file

@ -1132,8 +1132,11 @@ int setvideomode(int x, int y, int c, int fs)
if (!glinfo.dumped)
{
int oldbpp = bpp;
bpp = 32;
osdcmd_glinfo(NULL);
glinfo.dumped = 1;
glinfo.dumped = TRUE;
bpp = oldbpp;
}
}
#endif

View file

@ -3319,8 +3319,11 @@ static int SetupOpenGL(int width, int height, int bitspp)
if (!glinfo.dumped)
{
int oldbpp = bpp;
bpp = 32;
osdcmd_glinfo(NULL);
glinfo.dumped = TRUE;
bpp = oldbpp;
}
return FALSE;