move debug dump earlier

This commit is contained in:
Glenn Maynard
2003-02-17 03:09:25 +00:00
parent 18053b03e3
commit b0e5b24549
2 changed files with 2 additions and 3 deletions
-3
View File
@@ -76,9 +76,6 @@ RageDisplay::RageDisplay( bool windowed, int width, int height, int bpp, int rat
{
LOG->Trace( "RageDisplay::RageDisplay()" );
/* Give hooks a chance to do some debug init before we try to fire up OpenGL. */
HOOKS->PreDisplayInit();
m_oglspecs = new oglspecs_t;
SDL_InitSubSystem(SDL_INIT_VIDEO);
+2
View File
@@ -267,6 +267,8 @@ int main(int argc, char* argv[])
// changed to use time. GetTimeSinceStart is silly because it always return 0! -Chris
srand( time(NULL) ); // seed number generator
HOOKS->DumpDebugInfo();
//
// Create game objects
//