changeset 1387:83dac8ff2c90 draft

merge
author Kakeru TAMASIRO <e095736@ie.u-ryukyu.ac.jp>
date Fri, 27 Jan 2012 14:18:17 +0900
parents 20a09f7522a7 (current diff) 2247b81dd68f (diff)
children 281a3449e58b
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/Collada.cc	Fri Jan 27 14:17:06 2012 +0900
+++ b/Renderer/Engine/Collada.cc	Fri Jan 27 14:18:17 2012 +0900
@@ -202,7 +202,7 @@
     /**
      * image_name を既に Load していれば何もしない
      */
-    int tex_id;
+    int tex_id=0;
     /* ball test */
     if (sgid_hash.sg_hash_regist(filename, tex_id) == -1) {
         SDL_Surface *texture_image = load_image(filename, image_name);