Added sanity warning if the user tries compiling a client without a renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@122 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9c752d5a74
commit
ec74d9ac80
1 changed files with 3 additions and 1 deletions
|
@ -812,7 +812,7 @@ void R_SetRenderer(r_qrenderer_t wanted)
|
|||
Mod_PointInLeaf = SWMod_PointInLeaf;
|
||||
Mod_Q1LeafPVS = SWMod_LeafPVS;
|
||||
Mod_NowLoadExternal = SWMod_NowLoadExternal;
|
||||
#else
|
||||
#elif defined(RGLQUAKE)
|
||||
Mod_Init = GLMod_Init;
|
||||
Mod_Think = GLMod_Think;
|
||||
Mod_ClearAll = GLMod_ClearAll;
|
||||
|
@ -824,6 +824,8 @@ void R_SetRenderer(r_qrenderer_t wanted)
|
|||
Mod_PointInLeaf = GLMod_PointInLeaf;
|
||||
Mod_Q1LeafPVS = GLMod_LeafPVS;
|
||||
Mod_NowLoadExternal = GLMod_NowLoadExternal;
|
||||
#else
|
||||
#error "No renderer in client build"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue