Path: chuka.playstation.co.uk!news From: "Rad" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Filling the screen with boxes Date: Thu, 31 Dec 1998 19:30:04 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: <76gj10$qsh16@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> NNTP-Posting-Host: modem-93.lead.dialup.pol.co.uk X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Rad wrote in message <76gh2g$qsh13@chuka.playstation.co.uk>... > >As it happens the only problem was that I didn't allocate enough packet >space. 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