| 100 | } |
| 101 | |
| 102 | void WindowQt::paint() |
| 103 | { |
| 104 | if (!m_initialized) |
| 105 | initialize(); |
| 106 | |
| 107 | if (!isExposed()) |
| 108 | return; |
| 109 | |
| 110 | m_updatePending = false; |
| 111 | |
| 112 | makeCurrent(); |
| 113 | |
| 114 | paintGL(); |
| 115 | |
| 116 | m_context->swapBuffers(this); |
| 117 | |
| 118 | doneCurrent(); |
| 119 | } |
| 120 | |
| 121 | void WindowQt::updateGL() |
| 122 | { |
nothing calls this directly
no test coverage detected