summaryrefslogtreecommitdiff
path: root/src/rend2/tr_fbo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_fbo.c')
-rw-r--r--src/rend2/tr_fbo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rend2/tr_fbo.c b/src/rend2/tr_fbo.c
index 0e84d944..b498fe70 100644
--- a/src/rend2/tr_fbo.c
+++ b/src/rend2/tr_fbo.c
@@ -370,8 +370,7 @@ void FBO_Init(void)
GL_CheckErrors();
- // make sure the render thread is stopped
- R_SyncRenderThread();
+ R_IssuePendingRenderCommands();
/* if(glRefConfig.textureNonPowerOfTwo)
{
@@ -862,4 +861,4 @@ void FBO_FastBlit(FBO_t *src, vec4i_t srcBox, FBO_t *dst, vec4i_t dstBox, int bu
qglBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
glState.currentFBO = NULL;
-} \ No newline at end of file
+}