Path: chuka.playstation.co.uk!news From: "Rad" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Filling the screen with boxes Date: Fri, 1 Jan 1999 20:55:49 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 36 Message-ID: <76jcec$qsh21@chuka.playstation.co.uk> References: <762se1$2296@chuka.playstation.co.uk> <368741BC.84356107@hinge.mistral.co.uk> <76e75b$qsh7@chuka.playstation.co.uk> <368B5727.A7341FB5@hinge.mistral.co.uk> <76gh2g$qsh13@chuka.playstation.co.uk> <76gj10$qsh16@chuka.playstation.co.uk> NNTP-Posting-Host: modem-42.hytrin.dialup.pol.co.uk X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Ok, ignore this, I've solved this problem. It seems that it was only crashing because of the name I gave to a variable :-/. As far as I know it wasn't a reserved word but hay when I changed the variable name it worked! Strange! Rad. rad@cyberdude.com http://www.netyaroze-europe.com/~radpsx Rad wrote in message <76gj10$qsh16@chuka.playstation.co.uk>... > >I usually allocate gpu packet space like this: > >#define STARS_MAX (100) > >PACKET GpuPacketArea[2][STARS_MAX * sizeof(GsLINE)]; > >Now this works fine for GsSPRITE but doesn't seem to work for primitives >like GsLINE and GsBOXF. The strangest thing is that it used to work! >This is how I did it on my starfield program and it worked but then I had >problems with GsBOXF's on my new program and when I recomplied my starsfield >it crashed, unless I allocated more space! > >Can anyone tell me why this is? I guess it's a tight fit defining it that >way but it worked before and I haven't changed anything since! > >Rad. >rad@cyberdude.com >http://www.netyaroze-europe.com/~radpsx >