From dd020f13a6d520b46aefd4453dae6b6edcc427f6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 6 Jan 2000 09:28:38 +0000 Subject: updated Clear function for new mask bits --- src/mesa/drivers/x11/xmesaP.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/x11/xmesaP.h') diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index 532e288d58..147bb5f747 100644 --- a/src/mesa/drivers/x11/xmesaP.h +++ b/src/mesa/drivers/x11/xmesaP.h @@ -1,4 +1,4 @@ -/* $Id: xmesaP.h,v 1.4 1999/11/25 17:38:12 brianp Exp $ */ +/* $Id: xmesaP.h,v 1.5 2000/01/06 09:28:58 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -65,6 +65,10 @@ typedef struct { } bgr_t; +/* Function pointer for clearing color buffers */ +typedef void (*clear_func)( GLcontext *ctx, + GLboolean all, GLint x, GLint y, + GLint width, GLint height ); /* @@ -234,6 +238,10 @@ struct xmesa_buffer { fxMesaContext FXctx; #endif + /* functions for clearing the front and back color buffers */ + clear_func front_clear_func; + clear_func back_clear_func; + struct xmesa_buffer *Next; /* Linked list pointer: */ }; -- cgit v1.2.3