MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / IsFullscreenValid

Method IsFullscreenValid

src/Nazara/Platform/VideoMode.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 bool VideoMode::IsFullscreenValid() const
41 {
42 const std::vector<VideoMode>& modes = GetFullscreenModes();
43
44 return std::binary_search(modes.begin(), modes.end(), *this, std::greater<VideoMode>());
45 }
46
47 VideoMode VideoMode::GetDesktopMode()
48 {

Callers 1

CreateMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected