diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-10 14:56:32 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-10 14:56:32 +0000 |
commit | 03363763d25a4398a3f368aa6afee3595c5647f5 (patch) | |
tree | 9450243fec29c756ae3270d886e9ce4b965c304d | |
parent | d7e237cbb514ab0a4c2f892aa613725f5f0fd7d4 (diff) |
remove a bogus error check in _glapi_add_entrypoint() that prevented aliased functions from working
-rw-r--r-- | src/mesa/glapi/glapi.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index c0ec6783c8..6fc7096be4 100644 --- a/src/mesa/glapi/glapi.c +++ b/src/mesa/glapi/glapi.c @@ -1,4 +1,4 @@ -/* $Id: glapi.c,v 1.58.2.2 2002/03/07 21:50:53 brianp Exp $ */ +/* $Id: glapi.c,v 1.58.2.3 2002/10/10 14:56:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1915,13 +1915,6 @@ _glapi_add_entrypoint(const char *funcName, GLuint offset) } { - /* make sure this offset/name pair is legal */ - const char *name = _glapi_get_proc_name(offset); - if (name && strcmp(name, funcName) != 0) - return GL_FALSE; /* bad name! */ - } - - { /* be sure index and name match known data */ GLuint i; for (i = 0; i < NumExtEntryPoints; i++) { |