From d53f884ec18fbf161ad3bad06bf16d3104b2cb62 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sun, 8 Jul 2018 16:36:58 -0700 Subject: [PATCH] nv2a: Remove HACK HACK HACK code --- hw/xbox/nv2a/nv2a_pgraph.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hw/xbox/nv2a/nv2a_pgraph.c b/hw/xbox/nv2a/nv2a_pgraph.c index e9be6eb386..7e5398866b 100644 --- a/hw/xbox/nv2a/nv2a_pgraph.c +++ b/hw/xbox/nv2a/nv2a_pgraph.c @@ -655,18 +655,6 @@ static void pgraph_method(NV2AState *d, break; } case NV097_FLIP_STALL: -#if 0 - // HACK HACK HACK - glBindFramebuffer(GL_READ_FRAMEBUFFER, pg->gl_framebuffer); - glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); - glBlitFramebuffer(0, 0, 640, 480, 0, 0, 640, 480, GL_COLOR_BUFFER_BIT, GL_NEAREST); - SDL_GL_SwapWindow(d->sdl_window); // ugh - assert(glGetError() == GL_NO_ERROR); - glBindFramebuffer(GL_READ_FRAMEBUFFER, pg->gl_framebuffer); - glBindFramebuffer(GL_DRAW_FRAMEBUFFER, pg->gl_framebuffer); - glBindFramebuffer(GL_FRAMEBUFFER, pg->gl_framebuffer); - // HACK HACK HACK -#endif pgraph_update_surface(d, false, true, true); while (true) {