comparison TaskManager/Test/test_render/SceneGraph.cpp @ 150:bbf774c57544

add xml
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Tue, 02 Dec 2008 19:10:34 +0900
parents 6aead32217b7
children 1f4c3f3238e6
comparison
equal deleted inserted replaced
149:6aead32217b7 150:bbf774c57544
350 texture_id = id_count-1; 350 texture_id = id_count-1;
351 texture_info.t_w = texture_image->w; 351 texture_info.t_w = texture_image->w;
352 texture_info.t_h = texture_image->h; 352 texture_info.t_h = texture_image->h;
353 texture_info.pixels_orig = (Uint32*)texture_image->pixels; 353 texture_info.pixels_orig = (Uint32*)texture_image->pixels;
354 texture_info.pixels = tex_dest; 354 texture_info.pixels = tex_dest;
355 printf("%d %d\n", texture_image->w, texture_image->h); 355
356 //load_texture(image_name);
357 if(unlink(image_name)) 356 if(unlink(image_name))
358 { 357 {
359 cout << "unlink error\n"; 358 cout << "unlink error\n";
360 } 359 }
360
361 } else { 361 } else {
362 /** 362 /**
363 * 以前に Load されている Texture を共用 363 * 以前に Load されている Texture を共用
364 */ 364 */
365 texture_id = tex_id; 365 texture_id = tex_id;