summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/enable.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2000-12-27 22:52:45 +0000
committerKeith Whitwell <[email protected]>2000-12-27 22:52:45 +0000
commit376d022e4a5a56f81f089a13a34438981fe83178 (patch)
tree78c1b56b2c7ae5c39e24e8d4c2b0a7fab8d952c9 /src/mesa/main/enable.c
parentae8ec0b30d799c29034da5bf616b4e324d42d918 (diff)
fix demos/fire, enable lazy vertex flushing
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r--src/mesa/main/enable.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 7b667600053..5806f9c0980 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1,4 +1,4 @@
-/* $Id: enable.c,v 1.37 2000/12/26 05:09:28 keithw Exp $ */
+/* $Id: enable.c,v 1.38 2000/12/27 22:52:45 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -755,6 +755,8 @@ void
_mesa_Enable( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
+ ASSERT_OUTSIDE_BEGIN_END(ctx);
+
_mesa_set_enable( ctx, cap, GL_TRUE );
}
@@ -764,6 +766,8 @@ void
_mesa_Disable( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
+ ASSERT_OUTSIDE_BEGIN_END(ctx);
+
_mesa_set_enable( ctx, cap, GL_FALSE );
}