From 9f1fe58d662e2b9fd8ea6679b2058534cd9bc8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 27 Sep 2014 22:25:50 +0200 Subject: [PATCH] TgaImporter: open the files as binary. Took me TWO CRAZY HOURS of blaming visual studio, as it stopped reading in the middle of the file without any reasonable error message ("stream error", haha). --- src/MagnumPlugins/TgaImporter/TgaImporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MagnumPlugins/TgaImporter/TgaImporter.cpp b/src/MagnumPlugins/TgaImporter/TgaImporter.cpp index 28d6d311d..d131c61b5 100644 --- a/src/MagnumPlugins/TgaImporter/TgaImporter.cpp +++ b/src/MagnumPlugins/TgaImporter/TgaImporter.cpp @@ -62,7 +62,7 @@ void TgaImporter::doOpenData(const Containers::ArrayReferencegood()) return; Error() << "Trade::TgaImporter::openFile(): cannot open file" << filename;