diff options
Diffstat (limited to 'src/renderer/tr_model.c')
-rw-r--r-- | src/renderer/tr_model.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/renderer/tr_model.c b/src/renderer/tr_model.c index b79fd458..b51c3ce1 100644 --- a/src/renderer/tr_model.c +++ b/src/renderer/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; @@ -1046,7 +1045,7 @@ void RE_BeginRegistration( glconfig_t *glconfigOut ) { *glconfigOut = glConfig; - R_SyncRenderThread(); + R_IssuePendingRenderCommands(); tr.viewCluster = -1; // force markleafs to regenerate R_ClearFlares(); |