-/* $Id: dlist.c,v 1.55 2000/12/26 05:09:28 keithw Exp $ */
+/* $Id: dlist.c,v 1.56 2000/12/27 22:52:45 keithw Exp $ */
/*
* Mesa 3-D graphics library
ctx->CurrentDispatch = ctx->Exec;
_glapi_set_dispatch( ctx->CurrentDispatch );
+
}
-/* $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
_mesa_Enable( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
+ ASSERT_OUTSIDE_BEGIN_END(ctx);
+
_mesa_set_enable( ctx, cap, GL_TRUE );
}
_mesa_Disable( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
+ ASSERT_OUTSIDE_BEGIN_END(ctx);
+
_mesa_set_enable( ctx, cap, GL_FALSE );
}
-/* $Id: mtypes.h,v 1.7 2000/12/26 05:09:29 keithw Exp $ */
+/* $Id: mtypes.h,v 1.8 2000/12/27 22:52:45 keithw Exp $ */
/*
* Mesa 3-D graphics library
gl_error( ctx, GL_INVALID_OPERATION, "begin/end" ); \
return retval; \
} \
-} while (0); FLUSH_VERTICES(ctx, 0)
+} while (0)
#define ASSERT_OUTSIDE_BEGIN_END(ctx) \
- ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx,); FLUSH_VERTICES(ctx, 0)
+ ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx,)
#define ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx) \
do { \
-/* $Id: t_imm_exec.c,v 1.2 2000/12/27 21:49:40 keithw Exp $ */
+/* $Id: t_imm_exec.c,v 1.3 2000/12/27 22:52:45 keithw Exp $ */
/*
* Mesa 3-D graphics library
_tnl_compute_orflag( IM );
+/* _tnl_print_cassette( IM ); */
+
/* Mark the last primitive:
*/
IM->PrimitiveLength[IM->LastPrimitive] = IM->Count - IM->LastPrimitive;