pokemon-speedrunning / gambatte-speedrun

Fork of https://github.com/sinamas/gambatte with Pokemon speedrunning-related changes.
GNU General Public License v2.0
94 stars 27 forks source link

Fix resolution issue on Retina displays for OpenGL engine. #22

Closed entrpntr closed 4 years ago

entrpntr commented 4 years ago

Fixes an issue with Retina displays on Mac, where the gameboy screen would not fill the entire container (it would only take up 25% of the main window's real estate, and leave large black borders while centered in the main window).

Changes appeared to work even when switching app from a Retina to non-Retina screen (purportedly a major pitfall when attempting to support Retina), and the OpenGL video engine on Windows still worked fine for me, so I assume I didn't break other systems with the fix.