From a5676795cfe2e24979b5da65c2f499049ab009d9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 1 Nov 2006 19:35:22 +0000 Subject: Remove x/y/width/height parameters from Clear functions. --- src/mesa/main/dd.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/mesa/main/dd.h') diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index a1999ac76d..0e8987b7c6 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -99,19 +99,10 @@ struct dd_function_table { /** * Clear the color/depth/stencil/accum buffer(s). - * - * \param mask a bitmask of the DD_*_BIT values defined above that indicates - * which buffers need to be cleared. - * \param all if true then clear the whole buffer, else clear only the - * region defined by (x, y, width, height). - * - * This function must obey the glColorMask(), glIndexMask() and - * glStencilMask() settings! - * Software Mesa can do masked clears if the device driver can't. + * \param mask a bitmask of BUFFER_BIT_* flags indicating which + * renderbuffers need to be cleared. */ - void (*Clear)( GLcontext *ctx, GLbitfield mask, GLboolean all, - GLint x, GLint y, GLint width, GLint height ); - + void (*Clear)( GLcontext *ctx, GLbitfield buffers ); /** * \name For hardware accumulation buffer -- cgit v1.2.3