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:
parent
14baffd9b6
commit
5cbcec8283
1 changed files with 18 additions and 15 deletions
|
@ -1277,7 +1277,10 @@ qboolean M_VideoApply (union menuoption_s *op,struct menu_s *menu,int key)
|
||||||
#else
|
#else
|
||||||
case 1:
|
case 1:
|
||||||
#endif
|
#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;
|
break;
|
||||||
}
|
}
|
||||||
M_RemoveMenu(menu);
|
M_RemoveMenu(menu);
|
||||||
|
@ -1302,11 +1305,11 @@ void M_Menu_Video_f (void)
|
||||||
#ifdef RGLQUAKE
|
#ifdef RGLQUAKE
|
||||||
"OpenGL",
|
"OpenGL",
|
||||||
#ifdef USE_D3D
|
#ifdef USE_D3D
|
||||||
"Direct3D",
|
"DirectX7",
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef D3DQUAKE
|
#ifdef D3DQUAKE
|
||||||
"NDirect3D",
|
"DirectX9",
|
||||||
#endif
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue