TGA dumps work, courtesy of @bunnei

This commit is contained in:
archshift
2014-04-30 18:34:49 -07:00
parent bdc3c99904
commit fb47258af7
3 changed files with 39 additions and 37 deletions

View File

@ -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);
}
/**