Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/main.cpp @ 179:434846aef389
SDL_SetVideoMode に渡す bpp が 0 になってた (環境依存になってしまう)
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 19 Dec 2008 14:21:29 +0900 |
parents | d5cca23ed50c |
children | 5cde66c926b4 |
comparison
equal
deleted
inserted
replaced
178:5d1b82945b0d | 179:434846aef389 |
---|---|
25 5 以降: キューブが跳ね返りながら、勝手にキューブが増えて行く"; | 25 5 以降: キューブが跳ね返りながら、勝手にキューブが増えて行く"; |
26 | 26 |
27 int | 27 int |
28 init(int argc, char *argv[]) | 28 init(int argc, char *argv[]) |
29 { | 29 { |
30 int bpp = 0; | 30 int bpp = 32; |
31 int width = 640; | 31 int width = 640; |
32 int height = 480; | 32 int height = 480; |
33 int spenum = 1; | 33 int spenum = 1; |
34 char *xml = "xml_file/cube.xml"; | 34 char *xml = "xml_file/cube.xml"; |
35 video_type vtype = VTYPE_SDL; | 35 video_type vtype = VTYPE_SDL; |