From 5821f3d70c80101b63530735f33072c11ce81642 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 Jun 2005 17:44:42 +0000 Subject: added comment --- src/mesa/drivers/dri/common/drirenderbuffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa') 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, -- cgit v1.2.3