diff options
| author | Marcin Zawiejski | 2018-02-04 13:23:23 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-19 22:13:45 +0100 |
| commit | d4a70c6c08a64a2dfb28029016d90ce45b28d90c (patch) | |
| tree | 0ed2346db65d72bba38dd862706702a25a602d01 /drivers/windows/file_access_windows.h | |
| parent | 65aa9063c4e07b088e13f059ba77f86fa5ddba1e (diff) | |
| download | godot-d4a70c6c08a64a2dfb28029016d90ce45b28d90c.tar.gz godot-d4a70c6c08a64a2dfb28029016d90ce45b28d90c.tar.zst godot-d4a70c6c08a64a2dfb28029016d90ce45b28d90c.zip | |
fix buffer write performance on Windows and Unix
(cherry picked from commit 8315aa40ccbb0274d87f7b94ed52aa252e4aa626)
Diffstat (limited to 'drivers/windows/file_access_windows.h')
| -rw-r--r-- | drivers/windows/file_access_windows.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/windows/file_access_windows.h b/drivers/windows/file_access_windows.h index bbdf830c9..26bd08b7a 100644 --- a/drivers/windows/file_access_windows.h +++ b/drivers/windows/file_access_windows.h @@ -67,6 +67,7 @@ public: virtual void flush(); virtual void store_8(uint8_t p_dest); ///< store a byte + virtual void store_buffer(const uint8_t *p_src, int p_length); ///< store an array of bytes virtual bool file_exists(const String &p_name); ///< return true if a file exists |
