Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL2: Fix cg_viewsize < 100 and fix r_clear 1 #621

Merged
merged 2 commits into from
Nov 19, 2023

Conversation

zturtleman
Copy link

@zturtleman zturtleman commented Nov 19, 2023

Fixes #304.

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.
@zturtleman zturtleman merged commit f7c12a1 into ioquake:main Nov 19, 2023
3 checks passed
@zturtleman zturtleman deleted the opengl2_fbo_fixes branch November 19, 2023 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenGL2: HDR/FB-MSAA + post process leaves out viewport trim (cg_viewsize < 100)
1 participant