OpenGL2: Fix border for cg_viewsize using HDR/FB-MSAA w/postProcess

If using renderFBO (r_hdr 1 or r_ext_framebuffer_multisample > 0) and
r_postProcess 1, the viewport border (cg_viewsize < 100) which is drawn
before the world scene was drawn to the renderFBO but not copied to the
default framebuffer.

Now 2D before the world scene is drawn to the default framebuffer
directly for r_postProcess 1 like 2D drawn after the world scene.
This commit is contained in:
Zack Middleton authored and The Turtle Man ♣ committed 2023-11-18 22:03:22 -05:00
1 parent 78359180a4
commit a81df34905
2 files changed
+5 -20

No files matched your search

-1
View File
@@ -1472,7 +1472,6 @@ typedef struct {
FBO_t *last2DFBO;
qboolean colorMask[4];
qboolean framePostProcessed;
qboolean depthFill;
} backEndState_t;