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

Method getResolution

src/platform/BzfDisplay.cpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80const BzfDisplay::ResInfo* BzfDisplay::getResolution(int index) const {
81 if (index < 0 || index >= numResolutions) { return NULL; }
82 return resolutions[index];
83}
84
85int BzfDisplay::getResolution() const {
86 return currentResolution;

Callers 7

setVideoFormatFunction · 0.80
doEventFunction · 0.80
startPlayingFunction · 0.80
setPageMethod · 0.80
showMethod · 0.80
setFormatMethod · 0.80
dumpResourcesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected