Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP VISUALIZE-IVL Documentation: HP 9000 Series 700 Computers > Appendix B Appendix B: HP-IVL Reference

glXDestroyContext

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Destroy a GLX context.

C Specification

   void glXDestroyContext(Display   *dpy,

                          GLXContext ctx)

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies the GLX context to be destroyed.

Description

If the specified GLX rendering context ctx is not current to any thread, glXDestroyContext destroys it immediately. Otherwise, ctx is destroyed when it is no longer current to any thread. In either case, the resource ID referenced by ctx is freed immediately.

Errors

GLX_BAD_CONTEXT is generated if ctx is not a valid GLX context.

See Also

glXCreateContext, glXMakeCurrent.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.