Complete Hidpi support

This commit is contained in:
Jack Lucas 2019-04-13 12:03:37 -04:00 committed by GitHub
parent d690e734f9
commit ffe1d2043a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2877,7 +2877,7 @@ static bool InitGraphicsDevice(int width, int height)
// Set viewport parameters // Set viewport parameters
static void SetupViewport(void) static void SetupViewport(void)
{ {
#if defined(__APPLE__) #if defined(PLATFORM_DESKTOP)
// Get framebuffer size of current window // Get framebuffer size of current window
// NOTE: Required to handle HighDPI display correctly on OSX because framebuffer // NOTE: Required to handle HighDPI display correctly on OSX because framebuffer
// is automatically reasized to adapt to new DPI. // is automatically reasized to adapt to new DPI.