summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/fakeglx.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-11-18 15:11:49 +0000
committerBrian Paul <[email protected]>2002-11-18 15:11:49 +0000
commitd6113fc20d68f5720740b89c594227d0312bab3e (patch)
tree17172dc34f5fccd80a4cda438c5d1ec97f698434 /src/mesa/drivers/x11/fakeglx.c
parenta8f002f4f494aca72eaddeb47c754ac5a0b46681 (diff)
bring in a few AGP-related bits from 4.0.4
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index 5a830dc0cc0..3027c3bb60f 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1,4 +1,4 @@
-/* $Id: fakeglx.c,v 1.76 2002/11/14 16:14:56 brianp Exp $ */
+/* $Id: fakeglx.c,v 1.77 2002/11/18 15:11:49 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -2637,6 +2637,16 @@ Fake_glXFreeMemoryNV( GLvoid *pointer )
}
+/*** GLX_MESA_agp_offset */
+
+static GLuint
+Fake_glXGetAGPOffsetMESA( const GLvoid *pointer )
+{
+ (void) pointer;
+ return ~0;
+}
+
+
extern struct _glxapi_table *_mesa_GetGLXDispatchTable(void);
struct _glxapi_table *_mesa_GetGLXDispatchTable(void)
@@ -2775,9 +2785,12 @@ struct _glxapi_table *_mesa_GetGLXDispatchTable(void)
/*** GLX_MESA_set_3dfx_mode ***/
glx.Set3DfxModeMESA = Fake_glXSet3DfxModeMESA;
- /*** GLX AGP memory allocation ***/
+ /*** GLX_NV_vertex_array_range ***/
glx.AllocateMemoryNV = Fake_glXAllocateMemoryNV;
glx.FreeMemoryNV = Fake_glXFreeMemoryNV;
+ /*** GLX_MESA_agp_offset ***/
+ glx.GetAGPOffsetMESA = Fake_glXGetAGPOffsetMESA;
+
return &glx;
}