Closed LeeTeng2001 closed 1 year ago
Should be an easy fix
Thanks. I've added the code you've suggested.
Also, out of curiosity, did you have to make other changes to get the code to run on a Mac?
Yes I did, do you want me to make a pr branch for adding support for MacOS build?
That'll be helpful as I don't have a way to test the repo on macOS :)
ok! I'll work on it after my exam (which will be around early jan)
I'll open another issue
The actual resolution of window is different if you have retina display (like MacOS), thus we need to query from SDL once more after we have created the window to get the actual drawable size. Thus will fix the black range in the rendering window
Before:
After: