schell / gelatin

A nice Haskell graphics API. There's always room for jello.
BSD 3-Clause "New" or "Revised" License
41 stars 4 forks source link

gelatin-sdl2: Resizing window leads to content being stretched in the wrong direction #38

Open nek0 opened 6 years ago

nek0 commented 6 years ago

Hi there,

When using gelatin initialized by startupSDL2BackendsWithWindow and resizing the given window, the drawn content gets stretched into wrong directions, the wider the window gets, the content gets narrower and vice versa. Same goes for changing the window height. Is this wrong usage on my side?

Thanks for your time.

schell commented 6 years ago

I'm not sure - can you post a minimal example to reproduce the issue? Thanks for the report!