diff TaskManager/Test/test_render/main.cpp @ 180:e3b7776b1420 draft

いろいろ fix 。詳しくは TaskManager/Changelog、test_render/Changelog を
author gongo@localhost.localdomain
date Mon, 22 Dec 2008 16:09:57 +0900
parents 6e62f8cfbfe3
children 1fd0107ebb25
line wrap: on
line diff
--- a/TaskManager/Test/test_render/main.cpp	Fri Dec 19 14:21:29 2008 +0900
+++ b/TaskManager/Test/test_render/main.cpp	Mon Dec 22 16:09:57 2008 +0900
@@ -13,7 +13,7 @@
 
 static int sg_number = 0;
 
-static char *help_str = "Usage: ./test_nogl [OPTION]\n\
+static const char *help_str = "Usage: ./test_nogl [OPTION]\n\
   -cpu Number of SPE (default 1)\n\
   -width, -height window size (default 640x480)\n\
   -sg Draw SceneGraph\n\
@@ -31,7 +31,7 @@
     int width  = 640;
     int height = 480;
     int spenum = 1;
-    char *xml  = "xml_file/cube.xml";
+    const char *xml  = "xml_file/cube.xml";
     video_type vtype = VTYPE_SDL;
 
     for(int i = 1; argv[i]; ++i)