summaryrefslogtreecommitdiff
path: root/src/rend2/tr_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_main.c')
-rw-r--r--src/rend2/tr_main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rend2/tr_main.c b/src/rend2/tr_main.c
index 5b7ad5f7..0935dce7 100644
--- a/src/rend2/tr_main.c
+++ b/src/rend2/tr_main.c
@@ -1606,10 +1606,6 @@ static qboolean SurfIsOffscreen( const drawSurf_t *drawSurf, vec4_t clipDest[128
unsigned int pointOr = 0;
unsigned int pointAnd = (unsigned int)~0;
- if ( glConfig.smpActive ) { // FIXME! we can't do RB_BeginSurface/RB_EndSurface stuff with smp!
- return qfalse;
- }
-
R_RotateForViewer();
R_DecomposeSort( drawSurf->sort, &entityNum, &shader, &fogNum, &dlighted, &pshadowed );
@@ -2122,8 +2118,7 @@ void R_DebugGraphics( void ) {
return;
}
- // the render thread can't make callbacks to the main thread
- R_SyncRenderThread();
+ R_IssuePendingRenderCommands();
GL_Bind( tr.whiteImage);
GL_Cull( CT_FRONT_SIDED );