forked from fte/fteqw
1
0
Fork 0

DirectX7 menu option fixed to select the d3d7 renderer, and DirectX9

menu option to select the d3d9 renderer.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2901 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2008-02-02 15:16:16 +00:00
parent 14baffd9b6
commit 5cbcec8283
1 changed files with 18 additions and 15 deletions

View File

@ -1277,7 +1277,10 @@ qboolean M_VideoApply (union menuoption_s *op,struct menu_s *menu,int key)
#else
case 1:
#endif
Cbuf_AddText("setrenderer d3d\n", RESTRICT_LOCAL);
Cbuf_AddText("setrenderer d3d7\n", RESTRICT_LOCAL);
break;
case 3:
Cbuf_AddText("setrenderer d3d9\n", RESTRICT_LOCAL);
break;
}
M_RemoveMenu(menu);
@ -1302,11 +1305,11 @@ void M_Menu_Video_f (void)
#ifdef RGLQUAKE
"OpenGL",
#ifdef USE_D3D
"Direct3D",
"DirectX7",
#endif
#endif
#ifdef D3DQUAKE
"NDirect3D",
"DirectX9",
#endif
NULL
};