From f1e35c16b65f888b8e74ad97aec2b2747a3e4dce Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 14 Jan 2021 23:56:53 +0100 Subject: Windows window --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.cpp') 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 std::vector 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; -- cgit v1.3