mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement DXUTGetGlobalTimer()
This commit is contained in:
parent
42a6ead0dc
commit
9e6b5a9f94
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user