mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
d3d12: Add NULL initialization for d3d12_video_enc::m_pVideoTexArrayDPBPool
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed by: Pohsiang (John) Hsu <pohhsu@microsoft.com> Reviewed-by: Jesse Natalie <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33312>
This commit is contained in:
parent
123374c1d7
commit
fcbadd77a8
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ struct d3d12_video_encoder
|
|||
// and the pointer is stored on each d3d12_video_buffer
|
||||
// 2. On d3d12_video_buffer::destroy(), when all the slots
|
||||
// of the allocation pool are unused, the memory is released.
|
||||
pipe_resource *m_pVideoTexArrayDPBPool;
|
||||
pipe_resource *m_pVideoTexArrayDPBPool = NULL;
|
||||
std::shared_ptr<uint32_t> m_spVideoTexArrayDPBPoolInUse;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue