mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user