Scroll to navigation

GLUTPOSTREDISPLAY(3) Library Functions Manual (local) GLUTPOSTREDISPLAY(3)

NAME

glutPostRedisplayMark 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)