diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-01-14 23:56:53 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-01-14 23:56:53 +0100 |
| commit | f1e35c16b65f888b8e74ad97aec2b2747a3e4dce (patch) | |
| tree | 5f45368640221e6d947ce9817be73ce8f63e7a60 /src/utils.cpp | |
| parent | df861ee241cbe91f6319ea593fd630d160b135b8 (diff) | |
Windows window
Diffstat (limited to 'src/utils.cpp')
| -rw-r--r-- | src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp index 9aaf93a..e7aef1d 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -5,7 +5,7 @@ #include <iostream> std::vector<uint8_t> get_shader_code(const char* path) { - FILE* f = fopen(path, "r"); + FILE* f = fopen(path, "rb"); if (f == nullptr) { std::cerr << "Cannot open compute shader file !" << std::endl; |
