fix GLX_USE_TLS breakage, fix a warning
[mesa.git] / src / mesa / drivers / x11 / realglx.c
index eb3449ad41bb9f0c6b5609432b15ed36333127f9..30adb7465bad9076ff8b3c61635251c07a6ed6bf 100644 (file)
@@ -1,10 +1,9 @@
-/* $Id: realglx.c,v 1.5 2002/08/22 21:10:01 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
- * Version:  3.5
+ * Version:  5.1
  * 
- * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2002  Brian Paul   All Rights Reserved.
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -170,9 +169,12 @@ _real_GetGLXDispatchTable(void)
    /*** GLX_MESA_set_3dfx_mode ***/
    glx.Set3DfxModeMESA = _real_glXSet3DfxModeMESA;
 
-   /*** GLX AGP memory allocation ***/
+   /*** GLX_NV_vertex_array_range ***/
    glx.AllocateMemoryNV = _real_glXAllocateMemoryNV;
    glx.FreeMemoryNV = _real_glXFreeMemoryNV;
 
+   /*** GLX_MESA_agp_offset ***/
+   glx.GetAGPOffsetMESA = _real_glXGetAGPOffsetMESA;
+
    return &glx;
 }