MCPcopy Create free account
hub / github.com/cginternals/globjects / paint

Method paint

source/examples/qtexample/WindowQt.cpp:102–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void 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
121void WindowQt::updateGL()
122{

Callers

nothing calls this directly

Calls 1

initializeFunction · 0.50

Tested by

no test coverage detected