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/renderer/tr_shader.c | |
parent | b236ff1748a52589237e3ae7506ef9969cf6ad44 (diff) |
Remove the SMP renderer feature
Diffstat (limited to 'src/renderer/tr_shader.c')
-rw-r--r-- | src/renderer/tr_shader.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/renderer/tr_shader.c b/src/renderer/tr_shader.c index 6226d020..8440dd63 100644 --- a/src/renderer/tr_shader.c +++ b/src/renderer/tr_shader.c @@ -1873,7 +1873,7 @@ sortedIndex. ============== */ static void FixRenderCommandList( int newShader ) { - renderCommandList_t *cmdList = &backEndData[tr.smpFrame]->commands; + renderCommandList_t *cmdList = &backEndData->commands; if( cmdList ) { const void *curCmd = cmdList->cmds; @@ -2474,12 +2474,6 @@ shader_t *R_FindShader( const char *name, int lightmapIndex, qboolean mipRawImag } } - // make sure the render thread is stopped, because we are probably - // going to have to upload an image - if (r_smp->integer) { - R_SyncRenderThread(); - } - // clear the global shader Com_Memset( &shader, 0, sizeof( shader ) ); Com_Memset( &stages, 0, sizeof( stages ) ); @@ -2610,12 +2604,6 @@ qhandle_t RE_RegisterShaderFromImage(const char *name, int lightmapIndex, image_ } } - // make sure the render thread is stopped, because we are probably - // going to have to upload an image - if (r_smp->integer) { - R_SyncRenderThread(); - } - // clear the global shader Com_Memset( &shader, 0, sizeof( shader ) ); Com_Memset( &stages, 0, sizeof( stages ) ); |