mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 06:20:05 +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:
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;
|
||||
|
||||
Reference in new issue
Block a user