diff options
| author | 2014-04-21 22:00:32 -0400 | |
|---|---|---|
| committer | 2014-04-21 22:00:32 -0400 | |
| commit | 7a080551ac1ae7859adfa2bc410401e859d75590 (patch) | |
| tree | 9b392aedd87d8ec8083a355de6d8b0e0d2cfa5e6 /src | |
| parent | fixed VSProps for Qt DLL copy (diff) | |
| download | yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar.gz yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.tar.xz yuzu-7a080551ac1ae7859adfa2bc410401e859d75590.zip | |
fixed GL context acquire (applies to Qt GUI only)
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 2 |
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() { | |||
| 32 | 32 | ||
| 33 | /// Swap buffers (render frame) | 33 | /// Swap buffers (render frame) |
| 34 | void RendererOpenGL::SwapBuffers() { | 34 | void RendererOpenGL::SwapBuffers() { |
| 35 | m_render_window->MakeCurrent(); | ||
| 36 | |||
| 35 | // EFB->XFB copy | 37 | // EFB->XFB copy |
| 36 | // TODO(bunnei): This is a hack and does not belong here. The copy should be triggered by some | 38 | // TODO(bunnei): This is a hack and does not belong here. The copy should be triggered by some |
| 37 | // register write We're also treating both framebuffers as a single one in OpenGL. | 39 | // register write We're also treating both framebuffers as a single one in OpenGL. |