The frame rate for a debug compile was around 1/2000 (my poor Geforce3
)
Originally posted by Electroman
You've made Dx9 stuff before with C++ right? well do you normally just use the one thread or more? And if more than one is this close at all to yours?
The game i'm developing at the moment only uses 1 thread when actually in the game loop. I have a 2nd thread during the loading of DX, so i can have a progress bar, but that gets destroyed having loaded DX.
Code:
while( uMsg.message != WM_QUIT )
{
if( PeekMessage( &uMsg, NULL, 0, 0, PM_REMOVE ) )
{
TranslateMessage( &uMsg );
DispatchMessage( &uMsg );
}
else
{
if(IsLoaded)
{
GameThink();
while(GetTickCount() < LastThink+10);
LastThink = GetTickCount();
Render();
}
}
}