summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_context.h
diff options
context:
space:
mode:
authorDavid Nusinow <[email protected]>2005-12-14 01:43:13 +0000
committerDavid Nusinow <[email protected]>2005-12-14 01:43:13 +0000
commit92ef7527d17bcd8b59438a8f5e0fbb3e62579710 (patch)
tree0357d4d4809fb31dad31054099cb56358a382c7b /src/mesa/tnl/t_context.h
parentc37d6b4ca8a9a7ac42a2e0082cf1bb0acbbff3cc (diff)
* New upstream version (6.4.1)
* Merge changes from Ubuntu version 6.4.1-0ubuntu1 + Add new files required by xorg-server GL build to mesa-swrast-source.
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r--src/mesa/tnl/t_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index cdaa252e8fc..9c8f2003b27 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -773,6 +773,12 @@ typedef struct
GLboolean _DoVertexFog; /* eval fog function at each vertex? */
+ /* If True, it means we started a glBegin/End primtive with an invalid
+ * vertex/fragment program or incomplete framebuffer. In that case,
+ * discard any buffered vertex data.
+ */
+ GLboolean DiscardPrimitive;
+
GLuint render_inputs;
GLvertexformat exec_vtxfmt;