MCPcopy Create free account
hub / github.com/boostorg/compute / resizeGL

Method resizeGL

example/nbody.cpp:167–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 m_position_kernel.set_arg(2, m_dt);
166}
167void NBodyWidget::resizeGL(int width, int height)
168{
169 // update viewport
170 glViewport(0, 0, width, height);
171}
172void NBodyWidget::paintGL()
173{
174 // clear buffer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected