grimfang4 / sdl-gpu

A library for high-performance, modern 2D graphics with SDL written in C.
MIT License
1.19k stars 123 forks source link

[macOS] The target only occupies a quarter of the window until the window is moved. #185

Open thorlucas opened 4 years ago

thorlucas commented 4 years ago

I just transitioned my project using SDL to use SDL_gpu. I followed all the recommended changes in the README file.

However, everything is shrunken by a quarter and only occupies a quarter of the screen:

Screen Shot 2020-03-12 at 2 41 35 AM

When I drag the window, everything returns to normal:

Screen Shot 2020-03-12 at 2 41 39 AM
grimfang4 commented 4 years ago

This might be hinting at a high DPI / retina issue. Do you have a sample program I could test with that demonstrate this effect?