Multithreded rendering

i put my rendering in an infinite loop in a sperate thread, and have another
thread which updates my world/physics,

both threads are being called, i put a printf in to check

but my screen isnt being updated!
i have no idea why not?-------------------------------
Fabian “SupaGu” Mathews


Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

You can only render graphics form the thread that opens the graphics
window you should draw. So spawn the additional thread for the
calculations not the otherway round.On Saturday 28 February 2004 13:45, Fabian Mathews wrote:

i put my rendering in an infinite loop in a sperate thread, and have
another thread which updates my world/physics,

both threads are being called, i put a printf in to check

but my screen isnt being updated!
i have no idea why not?