From b1e7386f1bd388d01f360ff4e33d6b4a32941d0d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 29 Nov 2017 14:32:36 +0000 Subject: xlib: remove empty GLX_NV_vertex_array_range stubs The extension was never implemented and seemingly never will. The DRI based libGL dropped support for it over 10 years ago. Signed-off-by: Emil Velikov Reviewed-by: Brian Paul Reviewed-by: Adam Jackson Reviewed-by: Ian Romanick --- src/mesa/drivers/x11/fakeglx.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/mesa/drivers/x11/fakeglx.c') diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index d2a099f9a20..8902a7cd667 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -2759,28 +2759,6 @@ Fake_glXSet3DfxModeMESA( int mode ) -/*** GLX_NV_vertex_array range ***/ -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; -} - - /*** GLX_MESA_agp_offset ***/ static GLuint @@ -3009,10 +2987,6 @@ _mesa_GetGLXDispatchTable(void) /*** GLX_MESA_set_3dfx_mode ***/ glx.Set3DfxModeMESA = Fake_glXSet3DfxModeMESA; - /*** GLX_NV_vertex_array_range ***/ - glx.AllocateMemoryNV = Fake_glXAllocateMemoryNV; - glx.FreeMemoryNV = Fake_glXFreeMemoryNV; - /*** GLX_MESA_agp_offset ***/ glx.GetAGPOffsetMESA = Fake_glXGetAGPOffsetMESA; -- cgit v1.2.3