gosu / ashton

Special graphical effects and other extensions for the Ruby/Gosu game library (⚠️ unmaintained)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug when drawing to texture in fullscreen mode

KoBeWi opened this issue · comments

As title says. For reproducing, try running texture_render_example in fullscreen. It glitches out. Happens in Ashton 0.1.4

Finally got around to testing this. Happens with 0.1.6 on OSX and Ubuntu. Not sure what is going on there...

commented

The issue is that on fullscreen, all drawing is scaled to fit the window, but the texture stays at the same size. It can be fixed by re-scaling all operations back yourself.