[SDL2]-How To Clear To Black Entire App Window?-Not Just The "Keep Aspect Ratio" Portion?


Release deadline is approaching fast.
Our SDL2 application maintains “keep aspect ratio” on application resize & switches to full screen.
Full screen(desktop) is fine now.

Our issue now is:
When resizing/maximizing the app’s window there is screen corruption at the top-left of the window?

The screen corruption is in the portion of the app window that is not drawn to(aspect ratio black panels).
We’ve spent a good amount of time on trying to fix this, but have consistently failed.

Is there a solution to clear the app window’s aspect ratio black panel areas on left/right hand side of window?

Let us know, thanks!


GitHub repository has been updated:

Source code is clean…

Ok, we fixed it - GitHub above is updated