diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2015-04-04 12:57:31 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2015-07-13 22:27:20 +0200 |
commit | 902fa4da52737d43e04c2a028658ad9840811a89 (patch) | |
tree | 0a2346b4e08b5865c3369247f5720453b170e0c6 /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | GPU: Be robust against nullptr addresses; properly reset busy bits in the trigger registers. (diff) | |
download | yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar.gz yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar.bz2 yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar.lz yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar.xz yuzu-902fa4da52737d43e04c2a028658ad9840811a89.tar.zst yuzu-902fa4da52737d43e04c2a028658ad9840811a89.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/renderer_opengl.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 9799f74fa..96e12839a 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -22,6 +22,8 @@ #include "video_core/renderer_opengl/gl_shader_util.h" #include "video_core/renderer_opengl/gl_shaders.h" +#include "video_core/debug_utils/debug_utils.h" + /** * Vertex structure that the drawn screen rectangles are composed of. */ @@ -129,6 +131,10 @@ void RendererOpenGL::SwapBuffers() { hw_rasterizer->Reset(); } } + + if (Pica::g_debug_context && Pica::g_debug_context->recorder) { + Pica::g_debug_context->recorder->FrameFinished(); + } } /** |