Okay, so whenever I try to load a model, the program just hangs after saying it's loading the model. Does anybody know what the problem could be? models load fine if i'm compiling an example.
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbSetDir ( "media" );
dbPrint ( "Please wait, loading model " );
dbLoadObject ( "Model.X", 1 );
// our main loop
while ( LoopGDK ( ) )
{
// update the screen
dbSync ( );
}
// return back to windows
return;
}