aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/restart.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-07-01 16:04:46 -0600
committerBrian Paul <[email protected]>2010-07-01 20:03:31 -0600
commit120a9f46cd7cbe93f863a2fd6bdfe0cc5229f79f (patch)
treea090fa990e8c84e745efca492846bb3b19d25368 /src/mesa/main/restart.h
parent442c37e2ef57d8dcf88c91d457df7f6516d76264 (diff)
mesa: entrypoints for GL 3.1 primitive restart
Diffstat (limited to 'src/mesa/main/restart.h')
-rw-r--r--src/mesa/main/restart.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/mesa/main/restart.h b/src/mesa/main/restart.h
new file mode 100644
index 00000000000..931cd701281
--- /dev/null
+++ b/src/mesa/main/restart.h
@@ -0,0 +1,40 @@
+/*
+ * Mesa 3-D graphics library
+ * Version: 7.9
+ *
+ * Copyright (C) 2010 VMware, Inc. 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"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+
+#ifndef RESTART_H
+#define RESTART_H
+
+
+extern void GLAPIENTRY
+_mesa_PrimitiveRestart(void);
+
+
+extern void GLAPIENTRY
+_mesa_PrimitiveRestartIndex(GLuint index);
+
+
+#endif