Fix non-stream buffers uploading redundant data when a sub-range is modified.

https://love2d.org/forums/viewtopic.php?f=4&t=92458
This commit is contained in:
Alex Szpakowski
2021-12-28 15:10:09 -04:00
parent cee8f8ae48
commit cf0a45f601
2 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ private:
// A pointer to mapped memory.
char *memory_map;
size_t modified_offset;
size_t modified_size;
size_t modified_start;
size_t modified_end;
}; // Buffer