diff options
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; |
