[Ohrrpgce] SVN: teeemcee/11044 gfx_sdl2: fix resolutions > 640x400 crashing, and window resizing was br

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Mar 20 21:54:19 PDT 2019


teeemcee
2019-03-20 21:54:19 -0700 (Wed, 20 Mar 2019)
498
gfx_sdl2: fix resolutions > 640x400 crashing, and window resizing was broken

There were lots of mistakes in the rendering code.
In particular screenbuffer wasn't being resized properly when the image size
changed, and neither was SDL_RenderSetLogicalSize updated.

Also quite a lot of cleanup here. Added get_buffersize()

gfx_sdl2 is now pretty usable.  Only problem remaining in the rendering code is
that when you resize the window you get very unpleasant "wobbling". Havent'
managed to fix it.
---
U   wip/gfx_sdl2.bas


More information about the Ohrrpgce mailing list