From 1cb0daff4c61fbb433ea91f25cc4533ed65c61c9 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Tue, 15 May 2018 11:56:01 +0200 Subject: [PATCH] Revert glCheck --- shell/apple/emulator-osx/emulator-osx/osx-main.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/apple/emulator-osx/emulator-osx/osx-main.mm b/shell/apple/emulator-osx/emulator-osx/osx-main.mm index f95bdd38e..408355929 100644 --- a/shell/apple/emulator-osx/emulator-osx/osx-main.mm +++ b/shell/apple/emulator-osx/emulator-osx/osx-main.mm @@ -135,8 +135,7 @@ extern "C" int emu_single_frame(int w, int h) { screen_width = w; screen_height = h; glViewport(0, 0, screen_width, screen_height); - GLenum err = glGetError(); - if (err != GL_NO_ERROR) {printf("OpenGL error %d\n", err); die("OpenGL error"); } + return rend_single_frame(); }