summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-06-04 17:44:42 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-06-04 17:44:42 +0000
commit5821f3d70c80101b63530735f33072c11ce81642 (patch)
tree84de9d3e6d422bd93db0390192e950514bd05b89 /src
parent5b10d71559a238891c3623ac6660ea6e8845c70f (diff)
added comment
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/common/drirenderbuffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drirenderbuffer.c b/src/mesa/drivers/dri/common/drirenderbuffer.c
index 3d9574f0cf..44826958d0 100644
--- a/src/mesa/drivers/dri/common/drirenderbuffer.c
+++ b/src/mesa/drivers/dri/common/drirenderbuffer.c
@@ -8,6 +8,8 @@
/**
* This will get called when a window is resized.
* Just update width, height and internal format fields for now.
+ * There's usually no memory allocation above because the present
+ * DRI drivers use statically-allocated full-screen buffers.
*/
static GLboolean
driRenderbufferStorage(GLcontext *ctx, struct gl_renderbuffer *rb,