GLDELETESYNC(3G)

    .SH "NAME" glDeleteSync - delete a sync object
    .SH "C SPECIFICATION"

            .HP u void glDeleteSync(GLsync sync);

    .SH "PARAMETERS"

        .PP sync

                    The sync object to be deleted.

            .RE

        .SH "DESCRIPTION"
            .PP glDeleteSync deletes the sync object specified by sync. If the fence command corresponding to the specified sync object has completed, or if no glWaitSync() or glClientWaitSync() commands are blocking on sync, the object is deleted immediately. Otherwise, sync is flagged for deletion and will be deleted when it is no longer associated with any fence command and is no longer blocking any glWaitSync() or glClientWaitSync() command. In either case, after glDeleteSync returns, the name sync is invalid and can no longer be used to refer to the sync object.
            .PP glDeleteSync will silently ignore a sync value of zero.

       .SH "ERRORS"
            .PP GL_INVALID_VALUE is generated if sync is neither zero or the name of a sync object.

        .SH "API VERSION SUPPORT"

            .TS allbox tab(:); l l l l l. T{ glDeleteSync T}:T{ T}:T{ T}:T{ T}:T{ T}

        .SH "SEE ALSO"
            .PP glFenceSync(), glWaitSync(), glClientWaitSync()

        .SH "COPYRIGHT"
            .PP Copyright © 2010-2015 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2010-2015 Khronos Group