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

Method createDisplay

src/platform/SGIPlatformFactory.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32BzfDisplay* SGIPlatformFactory::createDisplay(
33 const char* name, const char*) {
34 XDisplay* display = new XDisplay(name, new SGIDisplayMode);
35 if (!display || !display->isValid()) {
36 delete display;
37 return NULL;
38 }
39 return display;
40}
41
42BzfVisual* SGIPlatformFactory::createVisual(
43 const BzfDisplay* display) {

Callers 1

initDisplayFunction · 0.45

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected