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

Method createDisplay

src/platform/BeOSPlatformFactory.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72BzfDisplay* BeOSPlatformFactory::createDisplay(
73 const char* name, const char* videoFormat) {
74
75 BeOSDisplay* display = new BeOSDisplay(name, videoFormat);
76 if (!display || !display->isValid()) {
77 delete display;
78 return NULL;
79 }
80
81 return display;
82}
83
84BzfVisual* BeOSPlatformFactory::createVisual(
85 const BzfDisplay* display) {

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected