2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

fixed GL context acquire (applies to Qt GUI only)

This commit is contained in:
bunnei 2014-04-21 22:00:32 -04:00
parent 089dff2cd4
commit 7a080551ac

View file

@ -32,6 +32,8 @@ RendererOpenGL::~RendererOpenGL() {
/// Swap buffers (render frame)
void RendererOpenGL::SwapBuffers() {
m_render_window->MakeCurrent();
// EFB->XFB copy
// TODO(bunnei): This is a hack and does not belong here. The copy should be triggered by some
// register write We're also treating both framebuffers as a single one in OpenGL.