summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_validate.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-21 14:07:35 -0600
committerBrian Paul <[email protected]>2009-09-21 14:56:40 -0600
commite5d29ebb5e5dd923c9c60972170d072120007aab (patch)
treeef7506e06dfeeaec692594dd5c13b65db935127c /src/mesa/main/api_validate.h
parent4916a5a2e72b05c176809dd0db5066a966a45b80 (diff)
mesa: make max_buffer_index() a non-static function
Diffstat (limited to 'src/mesa/main/api_validate.h')
-rw-r--r--src/mesa/main/api_validate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/api_validate.h b/src/mesa/main/api_validate.h
index 1d3ae157d73..6064d15fe6c 100644
--- a/src/mesa/main/api_validate.h
+++ b/src/mesa/main/api_validate.h
@@ -30,6 +30,12 @@
#include "mtypes.h"
+
+extern GLuint
+_mesa_max_buffer_index(GLcontext *ctx, GLuint count, GLenum type,
+ const void *indices,
+ struct gl_buffer_object *elementBuf);
+
extern GLboolean
_mesa_validate_DrawArrays(GLcontext *ctx,
GLenum mode, GLint start, GLsizei count);