diff options
author | Brian Paul <[email protected]> | 2000-01-14 16:35:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-01-14 16:35:25 +0000 |
commit | acb6297e14a482e2ec45bc2ed535c08b1a84c249 (patch) | |
tree | 0397e39b3fef8b6aeb1dd0076dfd7626a2e0d093 /src/mesa/glapi | |
parent | 4f68a7f5c724329265851c7e48297a0733f55b1a (diff) |
minor change for DEBUG builds
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/glapi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index fa74a0d85b5..4839b4a946d 100644 --- a/src/mesa/glapi/glapi.c +++ b/src/mesa/glapi/glapi.c @@ -1,10 +1,10 @@ -/* $Id: glapi.c,v 1.22 2000/01/10 04:29:09 brianp Exp $ */ +/* $Id: glapi.c,v 1.23 2000/01/14 16:35:25 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 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"), @@ -442,6 +442,7 @@ _glapi_check_table(const struct _glapi_table *table) assert(tab[i]); } +#ifdef DEBUG /* Do some spot checks to be sure that the dispatch table * slots are assigned correctly. */ @@ -487,6 +488,7 @@ _glapi_check_table(const struct _glapi_table *table) assert(istextureOffset == _gloffset_IsTextureEXT); assert(istextureOffset == offset); } +#endif } |