Add support for framedumping to OpenGL ES.

This commit is contained in:
Ryan Houdek
2016-01-01 08:50:15 -06:00
parent af9beecc10
commit 3f15aa4b57
4 changed files with 66 additions and 56 deletions

View File

@ -840,7 +840,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.");