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

Method destroySurface

src/SFML/Window/EglContext.cpp:260–267  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

258
259////////////////////////////////////////////////////////////
260void EglContext::destroySurface()
261{
262 // Ensure that this context is no longer active since our surface is going to be destroyed
263 setActive(false);
264
265 eglCheck(eglDestroySurface(m_display, m_surface));
266 m_surface = EGL_NO_SURFACE;
267}
268
269
270////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected