Mercurial > hg > Members > kono > Cerium
changeset 989:0b8f9d4d7dab akira
ppack initialization fix
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 01 Oct 2010 04:40:14 +0900 |
parents | 0b6f8c82625a |
children | 30f2e77ecb36 5418d809dc6a |
files | Renderer/Engine/Makefile.def Renderer/Engine/viewer.cc TaskManager/Makefile.def |
diffstat | 3 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/Makefile.def Sat Oct 02 03:48:39 2010 +0900 +++ b/Renderer/Engine/Makefile.def Fri Oct 01 04:40:14 2010 +0900 @@ -5,8 +5,8 @@ ABIBIT = 32 ABI = -m$(ABIBIT) CC = g++ -OPT = -g # -O9 #-DSPE_CREATE_POLYGON_CHECK -DSPE_CREATE_POLYGON=1 -CFLAGS = -g -Wall $(ABI) $(OPT) # -DDEBUG +OPT = -g -O9 #-DSPE_CREATE_POLYGON_CHECK -DSPE_CREATE_POLYGON=1 +CFLAGS = -Wall $(ABI) $(OPT) # -DDEBUG INCLUDE = -I$(CERIUM)/include/TaskManager -I. # LIBS = -L$(CERIUM)/TaskManager -m$(ABIBIT)
--- a/Renderer/Engine/viewer.cc Sat Oct 02 03:48:39 2010 +0900 +++ b/Renderer/Engine/viewer.cc Fri Oct 01 04:40:14 2010 +0900 @@ -156,6 +156,7 @@ for(int i=0;i<2;i++) { r[i].ppack = (PolygonPack*)manager->allocate(sizeof(PolygonPack)); + r[i].ppack->next = 0; r[i].spackList_length = (this->height + split_screen_h - 1) / split_screen_h; r[i].spackList = (SpanPack*)manager->allocate(sizeof(SpanPack)*r[i].spackList_length);
--- a/TaskManager/Makefile.def Sat Oct 02 03:48:39 2010 +0900 +++ b/TaskManager/Makefile.def Fri Oct 01 04:40:14 2010 +0900 @@ -29,8 +29,9 @@ ABIBIT = 32 -OPT = -g -O -DEARLY_TOUCH -# OPT = -g -DTASK_LIST_MAIL -O9 +OPT = -g -O9 +# -DEARLY_TOUCH +# -g -DTASK_LIST_MAIL -O9 CC = g++ CFLAGS = -Wall `sdl-config --cflags` -m$(ABIBIT) $(OPT)