MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / IsWindowInvalid

Function IsWindowInvalid

Source/Engine/Platform/SDL/SDLPlatform.Mac.cpp:299–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299inline bool IsWindowInvalid(Window* win)
300{
301 WindowsManager::WindowsLocker.Lock();
302 const bool hasWindow = WindowsManager::Windows.Contains(win);
303 WindowsManager::WindowsLocker.Unlock();
304 return !hasWindow || !win;
305}
306
307Float2 GetWindowTitleSize(const SDLWindow* window)
308{

Callers 1

Calls 3

LockMethod · 0.80
UnlockMethod · 0.80
ContainsMethod · 0.45

Tested by

no test coverage detected