Skip to content
Snippets Groups Projects
Commit 7a080551 authored by bunnei's avatar bunnei
Browse files

fixed GL context acquire (applies to Qt GUI only)

parent 089dff2c
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,8 @@ RendererOpenGL::~RendererOpenGL() { ...@@ -32,6 +32,8 @@ RendererOpenGL::~RendererOpenGL() {
/// Swap buffers (render frame) /// Swap buffers (render frame)
void RendererOpenGL::SwapBuffers() { void RendererOpenGL::SwapBuffers() {
m_render_window->MakeCurrent();
// EFB->XFB copy // EFB->XFB copy
// TODO(bunnei): This is a hack and does not belong here. The copy should be triggered by some // 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. // register write We're also treating both framebuffers as a single one in OpenGL.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment