summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-05-01 03:34:49 +0200
committerarchshift <admin@archshift.com>2014-05-01 03:34:49 +0200
commitfb47258af76898f9f495e3da1a7db03a724cc9b3 (patch)
tree68cba2f446072d9df9f0e16b6266161c8bd7109f /src/video_core/renderer_opengl
parentMerge commit upstream/master into issue-7-fix (diff)
downloadyuzu-fb47258af76898f9f495e3da1a7db03a724cc9b3.tar
yuzu-fb47258af76898f9f495e3da1a7db03a724cc9b3.tar.gz
yuzu-fb47258af76898f9f495e3da1a7db03a724cc9b3.tar.bz2
yuzu-fb47258af76898f9f495e3da1a7db03a724cc9b3.tar.lz
yuzu-fb47258af76898f9f495e3da1a7db03a724cc9b3.tar.xz
yuzu-fb47258af76898f9f495e3da1a7db03a724cc9b3.tar.zst
yuzu-fb47258af76898f9f495e3da1a7db03a724cc9b3.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-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 314b1a8ed..5407c483a 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -6,6 +6,7 @@
#include "video_core/video_core.h"
#include "video_core/renderer_opengl/renderer_opengl.h"
+#include "video_core/utils.h"
#include "core/mem_map.h"
@@ -49,6 +50,7 @@ void RendererOpenGL::SwapBuffers() {
// Switch back to EFB and clear
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo[kFramebuffer_EFB]);
+ VideoCore::DumpTGA("dump.tga", 400, 240, m_xfb_top_flipped);
}
/**