diff options
author | unknown <Atle@Gungnir.(none)> | 2012-01-29 14:27:28 +0100 |
---|---|---|
committer | unknown <Atle@Gungnir.(none)> | 2012-01-29 14:27:28 +0100 |
commit | b019bcca81f8dd4a003e21b2af8afffe16ef3a70 (patch) | |
tree | 967c79bc693b4b78cd9a35c9a33f3147b18e695c /shader.cpp | |
parent | eb53653dfcbbe325cee93368dd6585d68e41f43a (diff) |
Fixed windows issues.sfml
Diffstat (limited to 'shader.cpp')
-rw-r--r-- | shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ static void gl_check_error(const char *msg) { } void GLBaseShader::shader_source(const char *filename) { - std::ifstream inf(filename, std::ios_base::in); + std::ifstream inf(filename, std::ios_base::in | std::ios_base::binary); if(!inf.is_open()) { throw(std::runtime_error((boost::format("Failed to load shader from file %s") % filename).str())); } |