glutPostRedisplay man page

glutPostRedisplay — Mark the current window as needing a redisplay.

Library

OpenGLUT - window

Synopsis

#include <openglut.h>

void
glutPostRedisplay(void);

Description

Whenever circumstances indicate that your window is in need of being redisplayed, you may call glutPostRedisplay() to tell OpenGLUT that you want to redraw your graphics. Multiple calls to this function may be coalesced by OpenGLUT to avoid excessive invocation of your drawing support.

The ultimate effect of this function is to call your Display callback for the


current window


.

See Also

glutPostWindowRedisplay(3) glutPostOverlayRedisplay(3) glutPostWindowOverlayRedisplay(3) glutSwapBuffers(3) glutDisplayFunc(3)

 

Referenced By

glutDisplayFunc(3), glutPostOverlayRedisplay(3), glutPostWindowOverlayRedisplay(3), glutPostWindowRedisplay(3), glutSwapBuffers(3).