summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-01 19:35:22 +0000
committerBrian Paul <[email protected]>2006-11-01 19:35:22 +0000
commita5676795cfe2e24979b5da65c2f499049ab009d9 (patch)
treedfd5410b799bceb46a5787f0dbad0a90ac4b8809 /src/mesa/main/dd.h
parent533e5a73ee8fbc500b711aff566f00c10812ad4d (diff)
Remove x/y/width/height parameters from Clear functions.
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index a1999ac76d7..0e8987b7c65 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 <tt>(x, y, width, height)</tt>.
- *
- * 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