mirror of https://github.com/xemu-project/xemu.git
nv2a: Remove HACK HACK HACK code
This commit is contained in:
parent
32bf810a59
commit
d53f884ec1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue