22 lines
591 B
C++
Executable File
22 lines
591 B
C++
Executable File
//-----------------------------------------------------------------------------
|
|
// Torque Game Engine
|
|
// Copyright (C) GarageGames.com, Inc.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#include "core/frameAllocator.h"
|
|
#include "console/console.h"
|
|
|
|
U8* FrameAllocator::smBuffer = NULL;
|
|
U32 FrameAllocator::smWaterMark = 0;
|
|
U32 FrameAllocator::smHighWaterMark = 0;
|
|
|
|
#if defined(TORQUE_DEBUG)
|
|
|
|
ConsoleFunction(getMaxFrameAllocation, S32, 1,1, "getMaxFrameAllocation();")
|
|
{
|
|
argc, argv;
|
|
return sgMaxFrameAllocation;
|
|
}
|
|
|
|
#endif
|