diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 112: Open 3ds model files in read-only mode.

Message ID 20110721123638.17019.43234.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org July 21, 2011, 12:36 p.m. UTC
------------------------------------------------------------
revno: 112
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
timestamp: Tue 2011-07-19 16:42:53 +0300
message:
  Open 3ds model files in read-only mode.
modified:
  src/model.cpp


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/model.cpp'
--- src/model.cpp	2011-07-12 18:22:45 +0000
+++ src/model.cpp	2011-07-19 13:42:53 +0000
@@ -164,7 +164,7 @@ 
 
     Log::debug("Loading model from 3ds file '%s'\n", filename.c_str());
 
-    std::fstream input_file(filename.c_str());
+    std::ifstream input_file(filename.c_str());
     if (!input_file) {
         Log::error("Could not open 3ds file '%s'\n", filename.c_str());
         return false;