Version prints if d3d renderer is available, the video menu now sets "d3d" instead of invalid "d3d9" when selecting the D3D renderer, fixes to the Makefile so win32's m-rel will compile with gl+d3d, win32_SDL+win64+win64_SDL need alittle work still to compile, win32 d3d-rel/dbg still needs alittle work to compile
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3723 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8b74b55034
commit
6942e100d3
3 changed files with 17 additions and 20 deletions
|
@ -60,7 +60,7 @@ cvar_t gl_nocolors = CVAR ("gl_nocolors", "0");
|
|||
cvar_t gl_part_flame = CVAR ("gl_part_flame", "1");
|
||||
|
||||
//opengl library, blank means try default.
|
||||
static cvar_t gl_driver = CVARF ("gl_driver", "",
|
||||
static cvar_t gl_driver = CVARF ("gl_driver", "",
|
||||
CVAR_ARCHIVE | CVAR_RENDERERLATCH);
|
||||
cvar_t gl_shadeq1_name = CVAR ("gl_shadeq1_name", "*");
|
||||
extern cvar_t r_vertexlight;
|
||||
|
@ -1057,7 +1057,7 @@ qboolean M_VideoApply (union menuoption_s *op,struct menu_s *menu,int key)
|
|||
#endif
|
||||
#ifdef D3DQUAKE
|
||||
case 1:
|
||||
Cbuf_AddText("setrenderer d3d9\n", RESTRICT_LOCAL);
|
||||
Cbuf_AddText("setrenderer d3d\n", RESTRICT_LOCAL);
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
@ -1835,7 +1835,7 @@ TRACE(("dbg: R_RestartRenderer_f\n"));
|
|||
|
||||
if (!*_vid_wait_override.string || _vid_wait_override.value < 0)
|
||||
newr.wait = -1;
|
||||
else
|
||||
else
|
||||
newr.wait = _vid_wait_override.value;
|
||||
|
||||
Q_strncpyz(newr.glrenderer, gl_driver.string, sizeof(newr.glrenderer));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue