| 1565 | } |
| 1566 | |
| 1567 | void VideoDriver_Win32OpenGL::ReleaseVideoPointer() |
| 1568 | { |
| 1569 | if (this->anim_buffer != nullptr) OpenGLBackend::Get()->ReleaseAnimBuffer(this->dirty_rect); |
| 1570 | OpenGLBackend::Get()->ReleaseVideoBuffer(this->dirty_rect); |
| 1571 | this->dirty_rect = {}; |
| 1572 | _screen.dst_ptr = nullptr; |
| 1573 | this->anim_buffer = nullptr; |
| 1574 | } |
| 1575 | |
| 1576 | void VideoDriver_Win32OpenGL::Paint() |
| 1577 | { |
no test coverage detected