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

Method createDisplay

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected