]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_draw.c
Fix some viewport issues with r_viewfbo and r_bloom by passing view size information...
[xonotic/darkplaces.git] / gl_draw.c
index 5f8a358d43d723731f406d90585c46acbc8b50ea..4f700ff73eb28051994f0989dc34eafaf6385832 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -750,7 +750,7 @@ static void _DrawQ_Setup(void) // see R_ResetViewRendering2D
                return;
        DrawQ_FlushUI();
        r_refdef.draw2dstage = 1;
-       R_ResetViewRendering2D_Common(0, NULL, NULL, vid_conwidth.integer, vid_conheight.integer);
+       R_ResetViewRendering2D_Common(0, NULL, NULL, 0, 0, vid.width, vid.height, vid_conwidth.integer, vid_conheight.integer);
 }
 
 qboolean r_draw2d_force = false;