mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-09 09:51:29 -06:00
h264: Clear display buffer before allocation (#1750)
This commit is contained in:
parent
7dd0b90f53
commit
7ab5c5e267
@ -376,6 +376,8 @@ namespace H264
|
||||
WORD32 status = ih264d_api_function(m_codecCtx, &s_ctl_ip, &s_ctl_op);
|
||||
cemu_assert(!status);
|
||||
|
||||
//away with the old.
|
||||
m_displayBuf.clear();
|
||||
// allocate
|
||||
for (uint32 i = 0; i < s_ctl_op.u4_num_disp_bufs; i++)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user