From ae49c19ceadc578439ff49e9240995433ac47e39 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Mon, 14 May 2018 09:31:03 +0200 Subject: [PATCH] osx: cpu x86. glViewport now doing in RenderFrame --- core/build.h | 2 +- shell/apple/emulator-osx/emulator-osx/osx-main.mm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/build.h b/core/build.h index b6586f5a4..1cd3c0880 100755 --- a/core/build.h +++ b/core/build.h @@ -198,7 +198,7 @@ #define HOST_CPU CPU_ARM #elif defined(TARGET_OSX) #define HOST_OS OS_DARWIN - #define HOST_CPU CPU_GENERIC + #define HOST_CPU CPU_X86 #elif defined(TARGET_OSX_X64) #define HOST_OS OS_DARWIN #define HOST_CPU CPU_X64 diff --git a/shell/apple/emulator-osx/emulator-osx/osx-main.mm b/shell/apple/emulator-osx/emulator-osx/osx-main.mm index 0351be99e..21e14f345 100644 --- a/shell/apple/emulator-osx/emulator-osx/osx-main.mm +++ b/shell/apple/emulator-osx/emulator-osx/osx-main.mm @@ -132,7 +132,6 @@ extern "C" int emu_single_frame(int w, int h) { return true; screen_width = w; screen_height = h; - glViewport(0, 0, w, h); return rend_single_frame(); }