drhelius / Gearsystem

Sega Master System / Game Gear / SG-1000 emulator and debugger for macOS, Windows, Linux, BSD and RetroArch.
https://x.com/drhelius
GNU General Public License v3.0
265 stars 46 forks source link

Fix rendering glitches on Mac OS X #7

Closed tomyun closed 9 years ago

tomyun commented 9 years ago

While trying to make a package for Homebrew, I found some rendering issues on OS X that make it almost not playable.

  1. OpenGL viewport size did not take account high DPI found on Retina display.
  2. OpenGL context was not ready for RenderFrame() after doneCurrent() was called in InitRenderThread().

I made a small fix and confirmed it working on Retina MacBook Pro with OS X 10.10.