Improve window resizing/scaling behavior #1876
Closed
SuperFromND
started this conversation in
Engine development
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
#1895 should now address these problems. 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
I recently added the ability for Ikemen GO's window to be resized independently of game resolution similar to how MUGEN 1.1/SDL handles its game window. The problem is, the way I implemented it is quite literally just calling
gl.Viewport
to resize and offset the viewport to fit the window. This works, but it's not ideal and doesn't behave like how other programs would do it (taking the frame and projecting it onto a texture, then rendering that texture to the screen; doing it this way gives essentially free filtering as well as properly working with shaders, something the viewport approach breaks :<).If I was just a bit more savvy with OpenGL, this could probably be pretty easy to do, but I figured I'd throw it out here in the discussions channel just in case someone in internet-land who knows OpenGL better stumbles across it. 👍
Beta Was this translation helpful? Give feedback.
All reactions