Sfoglia il codice sorgente

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

Azaezel 11 anni fa
parent
commit
d5c42d0d44
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()) );