Fix software upload for DRM renderer with non-720p resolutions

The buffer allocated for the 720p test frame was left around
and we would attempt to reuse it even if the stream had frames
of a different size.
This commit is contained in:
Cameron Gutman committed 2026-01-06 00:35:36 -06:00
1 parent 4a547eb05e
commit 80ddd5ba13
2 files changed
+31 -1

No files matched your search

@@ -682,6 +682,10 @@ private:
SwFrameMapper m_SwFrameMapper;
int m_CurrentSwFrameIdx;
struct {
int width;
int height;
uint32_t format;
uint32_t handle;
uint32_t pitch;
uint64_t size;