MCPcopy Create free account
hub / github.com/SFML/SFML / create

Method create

src/SFML/Window/WindowBase.cpp:85–102  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

83
84////////////////////////////////////////////////////////////
85void WindowBase::create(VideoMode mode, const String& title, std::uint32_t style, State state)
86{
87 // Recreate the window implementation
88 m_impl = priv::WindowImpl::create(mode,
89 title,
90 style,
91 state,
92 ContextSettings{/* depthBits */ 0,
93 /* stencilBits */ 0,
94 /* antiAliasingLevel */ 0,
95 /* majorVersion */ 0,
96 /* minorVersion */ 0,
97 /* attributeFlags */ 0xFFFFFFFF,
98 /* sRgbCapable */ false});
99
100 // Perform common initializations
101 initialize();
102}
103
104
105////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

initializeFunction · 0.85
closeFunction · 0.85

Tested by

no test coverage detected