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(); }