mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-04-17 23:51:00 +00:00
parent
0be9f16d3d
commit
ccc7f276a1
1 changed files with 5 additions and 1 deletions
|
@ -365,12 +365,16 @@ SetMode_impl(int *pwidth, int *pheight, int mode, int fullscreen)
|
|||
|
||||
R_Printf(PRINT_ALL, " %dx%d (vid_fullscreen %i)\n", *pwidth, *pheight, fullscreen);
|
||||
|
||||
|
||||
if (!ri.GLimp_InitGraphics(fullscreen, pwidth, pheight))
|
||||
{
|
||||
return rserr_invalid_mode;
|
||||
}
|
||||
|
||||
if (mode == -2 || fullscreen)
|
||||
{
|
||||
GL4_BindVBO(0);
|
||||
}
|
||||
|
||||
/* This is totaly obscure: For some strange reasons the renderer
|
||||
maintains two(!) repesentations of the resolution. One comes
|
||||
from the client and is saved in gl4_newrefdef. The other one
|
||||
|
|
Loading…
Reference in a new issue