Wrong screen flash rectangle after window resize
Posted: Fri Sep 16, 2016 2:09
Pull request: https://github.com/coelckers/gzdoom/pull/100 - PR #100!
Okay this is more a bug fix than a code submission, but need to fill up Code Submissions.
It fixes that DrawBlend doesn't cover the full frame buffer area anymore if the framebuffer Width/Height is changed on the fly. Easiest way to see the bug is to start windowed in some relatively low size (say, 800x600) and then maximize the window.
I'm not 100% sure if this is the correct way to update those values for all render paths. The PR is working on my Mac laptop where I tested it though.
Okay this is more a bug fix than a code submission, but need to fill up Code Submissions.
It fixes that DrawBlend doesn't cover the full frame buffer area anymore if the framebuffer Width/Height is changed on the fly. Easiest way to see the bug is to start windowed in some relatively low size (say, 800x600) and then maximize the window.
I'm not 100% sure if this is the correct way to update those values for all render paths. The PR is working on my Mac laptop where I tested it though.