SDL2-for-Pascal icon indicating copy to clipboard operation
SDL2-for-Pascal copied to clipboard

SDl window resize problem

Open pst-82 opened this issue 10 months ago • 7 comments

Hello how can I fix the problem that is visualized in the picture when resizing the sdl window. What do I need to do to make it scale with the window ? SDL_WINDOWEVENT: if Event.window.event = SDL_WINDOWEVENT_RESIZED then begin WindowWidth := Event.window.data1; WindowHeight := Event.window.data2; UpdateDestRect(); end; Code not working

sdl2_screen

pst-82 avatar Jan 01 '25 14:01 pst-82