Merge pull request #3426 from Sonicadvance1/ES_fix_framedump

Add support for framedumping to OpenGL ES.
This commit is contained in:
Ryan Houdek
2016-01-28 18:24:32 -05:00
4 changed files with 66 additions and 56 deletions

View File

@ -836,7 +836,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
{
s_recordWidth = source_width;
s_recordHeight = source_height;
bAVIDumping = AVIDump::Start(s_recordWidth, s_recordHeight);
bAVIDumping = AVIDump::Start(s_recordWidth, s_recordHeight, AVIDump::DumpFormat::FORMAT_BGR);
if (!bAVIDumping)
{
PanicAlert("Error dumping frames to AVI.");