mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@748 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ca83297b10
commit
d0c714b125
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue