summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/dd.h
diff options
context:
space:
mode:
authorkeithw <keithw>2002-06-12 15:50:23 +0000
committerkeithw <keithw>2002-06-12 15:50:23 +0000
commit9a7c4c799a7ddfe709e590e1eb9ad03102bbb838 (patch)
tree4a5310fd7e1d615f2761c5912787195e095b0fa7 /xc/extras/Mesa/src/dd.h
parent80b74af98bae5fa1fd8d26b3b82d474a7bc4a9ac (diff)
merged tcl-0-0-branchtcl-0-0-20020612-merge
Diffstat (limited to 'xc/extras/Mesa/src/dd.h')
-rw-r--r--xc/extras/Mesa/src/dd.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/xc/extras/Mesa/src/dd.h b/xc/extras/Mesa/src/dd.h
index 13553c8d2..29fb9b0c3 100644
--- a/xc/extras/Mesa/src/dd.h
+++ b/xc/extras/Mesa/src/dd.h
@@ -1,4 +1,3 @@
-
/*
* Mesa 3-D graphics library
* Version: 3.5
@@ -78,7 +77,7 @@ struct dd_function_table {
* settings! Software Mesa can do masked clears if the device driver can't.
*/
- GLboolean (*SetDrawBuffer)( GLcontext *ctx, GLenum buffer );
+ void (*SetDrawBuffer)( GLcontext *ctx, GLenum buffer );
/*
* Specifies the current buffer for writing.
* The following values must be accepted when applicable:
@@ -86,16 +85,15 @@ struct dd_function_table {
* GL_BACK_LEFT - when double buffering
* GL_FRONT_RIGHT - when using stereo
* GL_BACK_RIGHT - when using stereo and double buffering
- * The folowing values may optionally be accepted. Return GL_TRUE
- * if accepted, GL_FALSE if not accepted. In practice, only drivers
- * which can write to multiple color buffers at once should accept
- * these values.
* GL_FRONT - write to front left and front right if it exists
* GL_BACK - write to back left and back right if it exists
* GL_LEFT - write to front left and back left if it exists
* GL_RIGHT - write to right left and back right if they exist
* GL_FRONT_AND_BACK - write to all four buffers if they exist
* GL_NONE - disable buffer write in device driver.
+ *
+ * Note the driver must organize fallbacks (eg with swrast) if it
+ * cannot implement the requested mode.
*/
void (*GetBufferSize)( GLframebuffer *buffer,