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

GLwDrawingAreaMakeCurrent Function


Provides a front end to the glXMakeCurrent subroutine.


OpenGL C bindings library: libXGLW.a

C Syntax

#include <X11/GLW/GLwDraw.h>
void GLwDrawingAreaMakeCurrent(Widget, Context)
Widget Widget;
GLXContext Context;


The GLwDrawingAreaMakeCurrent function provides a front end to the glXMakeCurrent subroutine by means of a widget (rather than a display or a window).


Widget Specifies the widget created with the GLwCreateMDrawingArea function.
Context Specifies a GLX rendering context created with the glXCreateContext subroutine.


/usr/include/GL/GLwDrawA.h Contains the GLwDrawingArea widget definitions derived from the Xt.
/usr/include/GL/GLwDrawAP.h Contains GLwDrawingArea widget private definitions.
/usr/include/GL/GLwMDrawA.h Contains the GLwMDrawingArea widget definitions derived from Motif.
/usr/include/GL/GLwMDrawAP.h Contains GLwMDrawingArea widget private definitions.

Related Information

The GLwDrawingArea or GLwMDrawingArea widget.

The glXCreateContext subroutine, glXMakeCurrent subroutine.

OpenGL Overview.

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