projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use smooth shaded triangles always. Fix SoF bug.
[mesa.git]
/
src
/
mesa
/
drivers
/
x11
/
glxapi.c
diff --git
a/src/mesa/drivers/x11/glxapi.c
b/src/mesa/drivers/x11/glxapi.c
index 73fbba3263c827a60031bbe0a29ba87de32214bb..93e5808ddbcdaada34c7faa8c0d9b1065c8d633a 100644
(file)
--- a/
src/mesa/drivers/x11/glxapi.c
+++ b/
src/mesa/drivers/x11/glxapi.c
@@
-1,4
+1,4
@@
-/* $Id: glxapi.c,v 1.1
4 2000/02/25 17:04:42
brianp Exp $ */
+/* $Id: glxapi.c,v 1.1
6 2000/04/10 21:13:19
brianp Exp $ */
/*
* Mesa 3-D graphics library
/*
* Mesa 3-D graphics library
@@
-169,7
+169,7
@@
XVisualInfo *glXChooseVisual(Display *dpy, int screen, int *list)
}
}
-void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst,
GLuint
mask)
+void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst,
unsigned long
mask)
{
struct _glxapi_table *t = get_dispatch(dpy);
if (!t)
{
struct _glxapi_table *t = get_dispatch(dpy);
if (!t)
@@
-359,7
+359,7
@@
Display *glXGetCurrentDisplay(void)
#ifdef _GLXAPI_VERSION_1_3
#ifdef _GLXAPI_VERSION_1_3
-GLXFBConfig glXChooseFBConfig(Display *dpy, int screen, const int *attribList, int *nitems)
+GLXFBConfig
*
glXChooseFBConfig(Display *dpy, int screen, const int *attribList, int *nitems)
{
struct _glxapi_table *t = get_dispatch(dpy);
if (!t)
{
struct _glxapi_table *t = get_dispatch(dpy);
if (!t)
@@
-446,6
+446,14
@@
int glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, int attribute, int *v
}
}
+GLXFBConfig *glXGetFBConfigs(Display *dpy, int screen, int *nelements)
+{
+ struct _glxapi_table *t = get_dispatch(dpy);
+ if (!t)
+ return 0;
+ return (t->GetFBConfigs)(dpy, screen, nelements);
+}
+
void glXGetSelectedEvent(Display *dpy, GLXDrawable drawable, unsigned long *mask)
{
struct _glxapi_table *t = get_dispatch(dpy);
void glXGetSelectedEvent(Display *dpy, GLXDrawable drawable, unsigned long *mask)
{
struct _glxapi_table *t = get_dispatch(dpy);