diff options
author | Keith Whitwell <[email protected]> | 2000-12-27 22:52:45 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2000-12-27 22:52:45 +0000 |
commit | 376d022e4a5a56f81f089a13a34438981fe83178 (patch) | |
tree | 78c1b56b2c7ae5c39e24e8d4c2b0a7fab8d952c9 /src/mesa/main/enable.c | |
parent | ae8ec0b30d799c29034da5bf616b4e324d42d918 (diff) |
fix demos/fire, enable lazy vertex flushing
Diffstat (limited to 'src/mesa/main/enable.c')
-rw-r--r-- | src/mesa/main/enable.c | 6 |
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 ); } |