diff options
author | Brian Paul <[email protected]> | 1999-09-11 11:31:34 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-09-11 11:31:34 +0000 |
commit | 585a68c82b9d87ea094143e91fab722070b3dc73 (patch) | |
tree | 67e751f2e54f4bb8cb3f82f7db351a15389ab245 /src/mesa/main/context.c | |
parent | ed3453350a8567184975182abddd7e4008f7518d (diff) |
added GL_EXT_get_proc_address
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index ee95173d078..f823ece47af 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.6 1999/09/07 22:31:30 brianp Exp $ */ +/* $Id: context.c,v 1.7 1999/09/11 11:31:34 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -53,6 +53,7 @@ #include "dlist.h" #include "eval.h" #include "enums.h" +#include "extensions.h" #include "fog.h" #include "hash.h" #include "light.h" @@ -1759,7 +1760,7 @@ GLenum gl_GetError( GLcontext *ctx ) { GLenum e = ctx->ErrorValue; - ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL( ctx, "glGetError", 0); + ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL( ctx, "glGetError", (GLenum) 0); if (MESA_VERBOSE & VERBOSE_API) fprintf(stderr, "glGetError <-- %s\n", gl_lookup_enum_by_nr(e)); |