diff options
author | Tim Angus <tim@ngus.net> | 2013-01-24 22:53:08 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-02-16 21:53:37 +0000 |
commit | 980a331cec780fe0b2a860517d02a2566eb7451c (patch) | |
tree | a57f0d76da9177fdfbf4af1ffde730084507c682 /src/rend2/tr_model.c | |
parent | b236ff1748a52589237e3ae7506ef9969cf6ad44 (diff) |
Remove the SMP renderer feature
Diffstat (limited to 'src/rend2/tr_model.c')
-rw-r--r-- | src/rend2/tr_model.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rend2/tr_model.c b/src/rend2/tr_model.c index b77e10a1..5aeab8ef 100644 --- a/src/rend2/tr_model.c +++ b/src/rend2/tr_model.c @@ -307,8 +307,7 @@ qhandle_t RE_RegisterModel( const char *name ) { Q_strncpyz( mod->name, name, sizeof( mod->name ) ); - // make sure the render thread is stopped - R_SyncRenderThread(); + R_IssuePendingRenderCommands(); mod->type = MOD_BAD; mod->numLods = 0; @@ -1305,7 +1304,7 @@ void RE_BeginRegistration( glconfig_t *glconfigOut ) { *glconfigOut = glConfig; - R_SyncRenderThread(); + R_IssuePendingRenderCommands(); tr.visIndex = 0; memset(tr.visClusters, -2, sizeof(tr.visClusters)); // force markleafs to regenerate |