MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / isValidResolution

Method isValidResolution

src/platform/BzfDisplay.cpp:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134bool BzfDisplay::isValidResolution(int index) const {
135 if (index < 0 || index >= numResolutions) { return false; }
136 return resolutions[index] != NULL;
137}
138
139void BzfDisplay::initResolutions(ResInfo** _resolutions,
140 int _numResolutions, int _currentResolution) {

Callers 2

setVideoFormatFunction · 0.80
startPlayingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected