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

Method Context

src/SFML/Window/Context.cpp:52–56  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

50{
51////////////////////////////////////////////////////////////
52Context::Context() : m_context(priv::GlContext::create())
53{
54 if (!setActive(true))
55 err() << "Failed to set context as active during construction" << std::endl;
56}
57
58
59////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected