mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +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)
|
if (!glinfo.dumped)
|
||||||
{
|
{
|
||||||
|
int oldbpp = bpp;
|
||||||
|
bpp = 32;
|
||||||
osdcmd_glinfo(NULL);
|
osdcmd_glinfo(NULL);
|
||||||
glinfo.dumped = 1;
|
glinfo.dumped = TRUE;
|
||||||
|
bpp = oldbpp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3319,8 +3319,11 @@ static int SetupOpenGL(int width, int height, int bitspp)
|
||||||
|
|
||||||
if (!glinfo.dumped)
|
if (!glinfo.dumped)
|
||||||
{
|
{
|
||||||
|
int oldbpp = bpp;
|
||||||
|
bpp = 32;
|
||||||
osdcmd_glinfo(NULL);
|
osdcmd_glinfo(NULL);
|
||||||
glinfo.dumped = TRUE;
|
glinfo.dumped = TRUE;
|
||||||
|
bpp = oldbpp;
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue