mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-11 17:49:10 -04:00
REVIEWED: Right timing
This commit is contained in:
@ -1782,7 +1782,7 @@ int InitPlatform(void)
|
||||
}
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
// Initialize timming system
|
||||
// Initialize timing system
|
||||
//----------------------------------------------------------------------------
|
||||
InitTimer();
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@ -1655,7 +1655,7 @@ int InitPlatform(void)
|
||||
TRACELOG(LOG_INFO, " > GLSL: %s", "NOT SUPPORTED");
|
||||
}
|
||||
|
||||
// Initialize timming system
|
||||
// Initialize timing system
|
||||
//----------------------------------------------------------------------------
|
||||
LARGE_INTEGER time = { 0 };
|
||||
QueryPerformanceCounter(&time);
|
||||
|
||||
@ -1613,7 +1613,7 @@ int InitPlatform(void)
|
||||
//----------------------------------------------------------------------------
|
||||
// Initialize timing system
|
||||
//----------------------------------------------------------------------------
|
||||
// NOTE: timming system must be initialized before the input events system
|
||||
// NOTE: timing system must be initialized before the input events system
|
||||
InitTimer();
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
// Platform-specific required data for timming (Win32)
|
||||
// Platform-specific required data for timing (Win32)
|
||||
#if defined(_WIN32)
|
||||
typedef struct _LARGE_INTEGER { int64_t QuadPart; } LARGE_INTEGER;
|
||||
__declspec(dllimport) int __stdcall QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount);
|
||||
|
||||
@ -1593,7 +1593,7 @@ Vector2 GetScreenToWorld2D(Vector2 position, Camera2D camera)
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Definition: Timming
|
||||
// Module Functions Definition: Timing
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
// NOTE: Functions with a platform-specific implementation on rcore_<platform>.c
|
||||
|
||||
Reference in New Issue
Block a user