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

Method create

src/SFML/Graphics/RenderTextureImplDefault.cpp:60–69  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

58
59////////////////////////////////////////////////////////////
60bool RenderTextureImplDefault::create(Vector2u size, unsigned int, const ContextSettings& settings)
61{
62 // Store the dimensions
63 m_size = size;
64
65 // Create the in-memory OpenGL context
66 m_context = std::make_unique<Context>(settings, size);
67
68 return true;
69}
70
71
72////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected