| 46 | } |
| 47 | |
| 48 | void QtRenderOGLContext::SetFramebuffer(ref_ptr<dp::BaseFramebuffer> framebuffer) |
| 49 | { |
| 50 | if (framebuffer) |
| 51 | framebuffer->Bind(); |
| 52 | else if (m_backFrame != nullptr) |
| 53 | m_backFrame->bind(); |
| 54 | } |
| 55 | |
| 56 | void QtRenderOGLContext::Resize(uint32_t w, uint32_t h) |
| 57 | { |