nngxWaitVSync Function

Syntax

NNGX_APICALL void NNGX_APIENTRY nngxWaitVSync(
     GLenum display
);

Arguments

Name Description
in display Screen to synchronize

Return Values

No values are returned.

Description

Performs V-Sync and returns.

For a V-Sync on the upper screen, specify display as NN_GX_DISPLAY0. For the lower screen, specify NN_GX_DISPLAY1, and for both screens specify NN_GX_DISPLAY_BOTH.

This function generates the following errors.

GL_ERROR_801A_DMPIf any other value is specified for the display argument.

Revision History

2010/08/18
Reworked for consistent terminology.
2010/03/12
Added extended error code(s).
2010/01/07
Initial version.

CONFIDENTIAL