|
@@ -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()) );
|