zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
glewinfo_tail.c File Reference

Go to the source code of this file.

Functions

GLboolean glewCreateContext (const char *display, int *visual)
 
void glewDestroyContext ()
 
GLboolean glewParseArgs (int argc, char **argv, char **display, int *visual)
 
int main (int argc, char **argv)
 

Variables

Colormap cmap = 0
 
GLXContext ctx = NULL
 
Display * dpy = NULL
 
XVisualInfo * vi = NULL
 
XVisualInfo * vis = NULL
 
Window wnd = 0
 

Function Documentation

GLboolean glewCreateContext ( const char *  display,
int visual 
)
void glewDestroyContext ( )

Definition at line 271 of file glewinfo_tail.c.

References glXDestroyContext, NULL, XCloseDisplay, and XDestroyWindow.

GLboolean glewParseArgs ( int  argc,
char **  argv,
char **  display,
int visual 
)

Definition at line 93 of file glewinfo_tail.c.

References GL_FALSE, GL_TRUE, int, and NULL.

Variable Documentation

Definition at line 223 of file glewinfo_tail.c.

Display* dpy = NULL

Definition at line 220 of file glewinfo_tail.c.

XVisualInfo* vis = NULL

Definition at line 222 of file glewinfo_tail.c.

Window wnd = 0

Definition at line 224 of file glewinfo_tail.c.