From 376d022e4a5a56f81f089a13a34438981fe83178 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 27 Dec 2000 22:52:45 +0000 Subject: fix demos/fire, enable lazy vertex flushing --- src/mesa/main/enable.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/enable.c') 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 ); } -- cgit v1.2.3