Prevent 8bpp opengl. I hate you Up2nOgOoD[ROCK].
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2203 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
961b474e73
commit
0560842635
1 changed files with 5 additions and 0 deletions
|
@ -452,6 +452,11 @@ qboolean VID_SetFullDIBMode (rendererstate_t *info)
|
|||
if (info->rate)
|
||||
gdevmode.dmFields |= DM_DISPLAYFREQUENCY;
|
||||
gdevmode.dmBitsPerPel = info->bpp;
|
||||
if (info->bpp && (gdevmode.dmBitsPerPel < 15))
|
||||
{
|
||||
Con_Printf("Forcing at least 16bpp\n");
|
||||
gdevmode.dmBitsPerPel = 16;
|
||||
}
|
||||
gdevmode.dmDisplayFrequency = info->rate;
|
||||
gdevmode.dmPelsWidth = info->width;
|
||||
gdevmode.dmPelsHeight = info->height;
|
||||
|
|
Loading…
Reference in a new issue