MCPcopy Create free account
hub / github.com/SFML/SFML / isValid

Method isValid

src/SFML/Window/VideoMode.cpp:66–71  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

64
65////////////////////////////////////////////////////////////
66bool VideoMode::isValid() const
67{
68 const std::vector<VideoMode>& modes = getFullscreenModes();
69
70 return std::find(modes.begin(), modes.end(), *this) != modes.end();
71}
72
73
74////////////////////////////////////////////////////////////

Callers 2

VideoMode.test.cppFile · 0.80
createMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected