Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.beginners Subject: Re: Order in main display loop Date: Sun, 19 Sep 1999 13:43:54 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: <7s2lp1$bbg2@chuka.playstation.co.uk> References: <7s08as$lcu11@chuka.playstation.co.uk> NNTP-Posting-Host: th-gt141-061.pool.dircon.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 > Has anyone got any ideas on why it isn't working? I suppose it could be my > whole testing program etc, as it's a bit recycled from old stuff, but it > works with the code at the start and end, but not all at the end, or al at > the start. Can someone tell me if it shouldn't work in theory, and that I've > got completely the wrong idea? I'd be grateful for any help whatsoever. Hmmm, I seem to have got it working, I've put a condition which checks to see if it's the first ever loop, and then it calls GraphicsLoopStart first, then GraphicsLoopEnd, then GraphicsLoopStart. After that, each loop it only calls GraphicsLoopEnd then GraphicsLoopStart. Once I did that I had to muck about with all the pointers and structures and everything that I'm passing to the function. It works, without any GPU Timeout messages, so hopefully it should work all the time, but I'll need to test it more with displaying sprites etc. Just to add to what Derek said, as well as Sort Sprite having to come *between* Clear OT and Draw OT, Clear OT always has to be called before Draw OT, which is OK once into the loop, and it's looping around, but Clear OT has to be called at the start of the loop, to make sure it's before the Draw OT. (If that made no sense, read the first post and Derek's reply, and my reply to Derek... phew, won't try saying that again! :) Thanks Rikki