changeset 1385:2247b81dd68f draft

minor change.
author Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
date Fri, 27 Jan 2012 13:57:51 +0900
parents 207e0ed76cf1
children 83dac8ff2c90
files Renderer/Engine/Collada.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/Collada.cc	Fri Jan 27 02:10:52 2012 +0900
+++ b/Renderer/Engine/Collada.cc	Fri Jan 27 13:57:51 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);