diff --git a/port/linux/src/d3d8_gl.c b/port/linux/src/d3d8_gl.c index 5c9e26c2..5f29c74a 100644 --- a/port/linux/src/d3d8_gl.c +++ b/port/linux/src/d3d8_gl.c @@ -6808,6 +6808,7 @@ void WINAPI D3DDevice_Present(CONST RECT *source_rectangle, CONST RECT *destinat x, y + height, x + width, y, GL_COLOR_BUFFER_BIT, GL_LINEAR); } glBindVertexArray(device.vertex_array); + glBindFramebuffer(GL_READ_FRAMEBUFFER, 0); platform_video_swap(); #ifndef HALO_GLES visibility_read_batch();