summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-22 04:00:32 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-22 04:00:32 +0200
commit7a080551ac1ae7859adfa2bc410401e859d75590 (patch)
tree9b392aedd87d8ec8083a355de6d8b0e0d2cfa5e6 /src
parentfixed VSProps for Qt DLL copy (diff)
downloadyuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar
yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar.gz
yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar.bz2
yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar.lz
yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar.xz
yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar.zst
yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 35804aee1..cf7b029ab 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -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.