When I try to play my animation, I can hear it but cant see it.
For some reason this function call doesnt allow me to see it.
What am I doign wrong?
I know it works because I can play the video with out that function call but I need to have the function call.
Function:
void IGECore::Initialize(int iSync, int iMaximize, int iWindowOff,
int iWidth, int iHeight, int iDepth, char* strTitle)
{
dbFlushVideoMemory();
dbHideMouse();
dbSyncOn();
dbSyncRate(iSync);
dbSetWindowTitle(strTitle);
if(iMaximize == 1)
{
dbMaximiseWindow();
}
if(iWindowOff == 1)
{
dbSetWindowOff();
}
dbSetDisplayMode(iWidth,iHeight,iDepth);
}
Call To Function:
System.Initialize(60,1,1,800,600,32,"Testing");