MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / ~SystemWindow

Method ~SystemWindow

PanzerChasm/system_window.cpp:443–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443SystemWindow::~SystemWindow()
444{
445 if( software_renderer_gl_texture_ != ~0u )
446 glDeleteTextures( 1u, &software_renderer_gl_texture_ );
447
448 if( gl_context_ != nullptr )
449 SDL_GL_DeleteContext( gl_context_ );
450
451 SDL_DestroyWindow( window_ );
452
453 SDL_QuitSubSystem( SDL_INIT_VIDEO );
454}
455
456bool SystemWindow::IsOpenGLRenderer() const
457{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected