mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 10:48:48 +00:00
Show correct include file pathnames in GLw documentation.
ok matthieu.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
.iX "creation functions"
|
||||
.sp 1
|
||||
.SH SYNOPSIS
|
||||
\fB#include <X11/GLw/GLwMDrawA.h>\fP
|
||||
\fB#include <GL/GLwMDrawA.h>\fP
|
||||
.br
|
||||
Widget \fBGLwCreateMDrawingArea\fP( Widget \fIparent\fP,
|
||||
String \fIname\fP,
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
.iX "widget class" "OpenGL" "Draw"
|
||||
.sp 1
|
||||
.SH SYNOPSIS
|
||||
\fB#include <X11/GLw/GLwDrawA.h>
|
||||
\fB#include <GL/GLwDrawA.h>
|
||||
.br
|
||||
\fBld ... -lGLw -lGL -l<anywidgetlibrary> -lXext -lXt -lX11 -lm
|
||||
.sp
|
||||
\fB#include <X11/GLw/GLwMDrawA.h>
|
||||
\fB#include <GL/GLwMDrawA.h>
|
||||
.br
|
||||
\fBld ... -lGLw -lGL -lXm -lXext -lXt -lX11 -lm
|
||||
.sp 1
|
||||
@@ -399,7 +399,7 @@ the appropriate callbacks.
|
||||
.nf
|
||||
\f(CW
|
||||
#include <stdlib.h>
|
||||
#include <X11/GLw/GLwDrawA.h>
|
||||
#include <GL/GLwDrawA.h>
|
||||
static GLXContext glx_context; /* assume only one context */
|
||||
. . .
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
.iX "GLwDrawingArea"
|
||||
.sp 1
|
||||
.SH SYNOPSIS
|
||||
\fB#include <X11/GLw/GLwDraw.h>\fP
|
||||
\fB#include <GL/GLwDraw.h>\fP
|
||||
.br
|
||||
void \fBGLwDrawingAreaMakeCurrent\fP( Widget \fIw\fP,
|
||||
GLXContext \fIctx\fP )
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
.iX "GLwDrawingArea"
|
||||
.sp 1
|
||||
.SH SYNOPSIS
|
||||
\fB#include <X11/GLw/GLwDraw.h>\fP
|
||||
\fB#include <GL/GLwDraw.h>\fP
|
||||
.br
|
||||
void \fBGLwDrawingAreaSwapBuffers\fP( Widget \fIw\fP )
|
||||
.br
|
||||
|
||||
Reference in New Issue
Block a user