mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Implement DXUTGetGlobalTimer()
This commit is contained in:
@@ -9,6 +9,17 @@
|
||||
#undef min // use __min instead
|
||||
#undef max // use __max instead
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
// Global/Static Members
|
||||
//--------------------------------------------------------------------------------------
|
||||
CDXUTTimer* DXUTGetGlobalTimer()
|
||||
{
|
||||
// Using an accessor function gives control of the construction order
|
||||
static CDXUTTimer timer;
|
||||
return &timer;
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
CDXUTTimer::CDXUTTimer()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user