Browse Source

Yikes. fatalityfix: need to create a platformtimer for the reference.

Azaezel 11 years ago
parent
commit
d5c42d0d44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/gfx/gfxDevice.cpp

+ 1 - 1
Engine/source/gfx/gfxDevice.cpp

@@ -180,7 +180,7 @@ GFXDevice::GFXDevice()
 
    // Initialize our drawing utility.
    mDrawer = NULL;
-
+   mFrameTime = PlatformTimer::create();
    // Add a few system wide shader macros.
    GFXShader::addGlobalMacro( "TORQUE", "1" );
    GFXShader::addGlobalMacro( "TORQUE_VERSION", String::ToString(getVersionNumber()) );