[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glFinish Subroutine

Purpose

Blocks until all GL execution is complete.

Library

OpenGL C bindings library: libGL.a

C Syntax

void glFinish( void )

Description

The glFinish subroutine does not return until the effects of all previously called GL subroutines are complete. Such effects include all changes to the GL state, all changes to the connection state, and all changes to the frame buffer contents.

Notes

The glFinish subroutine requires a round-trip to the server.

Errors

GL_INVALID_OPERATION The glFinish subroutine is called between a call to glBegin and the corresponding call to glEnd.

Files

/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The glBegin or glEnd subroutine, glFlush subroutine, glWaitGL subroutine, glWaitX subroutine.

OpenGL Overview.


[ Previous | Next | Contents | Glossary | Home | Search ]