| 441 | } |
| 442 | |
| 443 | SystemWindow::~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 | |
| 456 | bool SystemWindow::IsOpenGLRenderer() const |
| 457 | { |
nothing calls this directly
no outgoing calls
no test coverage detected