MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / resize

Function resize

demos/glthreadsint.c:247–255  ·  view source on GitHub ↗

signal resize of given window */

Source from the content-addressed store, hash-verified

245
246/* signal resize of given window */
247static void
248resize(struct winthread *wt, int w, int h)
249{
250 wt->NewSize = GL_TRUE;
251 wt->WinWidth = w;
252 wt->WinHeight = h;
253 if (!Animate)
254 signal_redraw();
255}
256
257
258/*

Callers 2

event_loopFunction · 0.70
event_loop_multiFunction · 0.70

Calls 1

signal_redrawFunction · 0.70

Tested by

no test coverage detected