diff options
| author | Ruslan Mustakov | 2017-09-22 12:56:02 +0700 |
|---|---|---|
| committer | Ruslan Mustakov | 2017-09-25 16:19:21 +0700 |
| commit | 1a2311e3505765e37b736fe6bb46bb229e00701f (patch) | |
| tree | fd592573dbe7d95b89649eaa677bef54336c648e /drivers/windows/file_access_windows.cpp | |
| parent | 14b4ad931f54c73aff9021a1314943278295e602 (diff) | |
| download | godot-1a2311e3505765e37b736fe6bb46bb229e00701f.tar.gz godot-1a2311e3505765e37b736fe6bb46bb229e00701f.tar.zst godot-1a2311e3505765e37b736fe6bb46bb229e00701f.zip | |
Diffstat (limited to 'drivers/windows/file_access_windows.cpp')
| -rw-r--r-- | drivers/windows/file_access_windows.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index d128b5824..3b6e469c9 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -207,6 +207,12 @@ Error FileAccessWindows::get_error() const { return last_error; } +void FileAccessWindows::flush() { + + ERR_FAIL_COND(!f); + fflush(f); +} + void FileAccessWindows::store_8(uint8_t p_dest) { ERR_FAIL_COND(!f); |
