diff options
author | Brian Paul <[email protected]> | 2002-08-22 21:10:01 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-08-22 21:10:01 +0000 |
commit | 8fefafa2200d3ea44ec46592b190654a10685b46 (patch) | |
tree | 8f2b18392d6f842fabf93866bb73917bacc84bd7 /src/mesa/drivers/x11/fakeglx.c | |
parent | 2188d002df22ac4495444fa7705af1963508f766 (diff) |
stub functions for glXAllocate/FreeMemoryNV()
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index e7d98dd2a3d..bc194968040 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1,4 +1,4 @@ -/* $Id: fakeglx.c,v 1.66 2002/06/16 03:56:11 brianp Exp $ */ +/* $Id: fakeglx.c,v 1.67 2002/08/22 21:10:01 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -2492,6 +2492,28 @@ Fake_glXSet3DfxModeMESA( int mode ) +/*** AGP memory allocation ***/ +static void * +Fake_glXAllocateMemoryNV( GLsizei size, + GLfloat readFrequency, + GLfloat writeFrequency, + GLfloat priority ) +{ + (void) size; + (void) readFrequency; + (void) writeFrequency; + (void) priority; + return NULL; +} + + +static void +Fake_glXFreeMemoryNV( GLvoid *pointer ) +{ + (void) pointer; +} + + extern struct _glxapi_table *_mesa_GetGLXDispatchTable(void); struct _glxapi_table *_mesa_GetGLXDispatchTable(void) @@ -2630,5 +2652,9 @@ struct _glxapi_table *_mesa_GetGLXDispatchTable(void) /*** GLX_MESA_set_3dfx_mode ***/ glx.Set3DfxModeMESA = Fake_glXSet3DfxModeMESA; + /*** GLX AGP memory allocation ***/ + glx.AllocateMemoryNV = Fake_glXAllocateMemoryNV; + glx.FreeMemoryNV = Fake_glXFreeMemoryNV; + return &glx; } |