summaryrefslogtreecommitdiff
path: root/src/rend2/tr_model.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-01-24 22:53:08 +0000
committerTim Angus <tim@ngus.net>2013-02-16 21:53:37 +0000
commit980a331cec780fe0b2a860517d02a2566eb7451c (patch)
treea57f0d76da9177fdfbf4af1ffde730084507c682 /src/rend2/tr_model.c
parentb236ff1748a52589237e3ae7506ef9969cf6ad44 (diff)
Remove the SMP renderer feature
Diffstat (limited to 'src/rend2/tr_model.c')
-rw-r--r--src/rend2/tr_model.c5
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