summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2010-03-27 21:35:25 +0200
committerGeorge Sapountzis <[email protected]>2010-03-27 21:35:25 +0200
commit3bfa23317c6b1b52ec637a03a0b623228ffc95ef (patch)
tree2429a7669b3ef6b12084f03ef0c89c462790aa38 /src/mesa/drivers/dri
parentf4e561ce127cf484d7c76c29b8cd026c9ad5cebc (diff)
drisw: add comment to libGL about stride
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/swrast/swrast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index e8df26f3d06..8b68281fab0 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -206,6 +206,7 @@ swrast_delete_renderbuffer(struct gl_renderbuffer *rb)
free(rb);
}
+/* see bytes_per_line in libGL */
static INLINE int
bytes_per_line(unsigned pitch_bits, unsigned mul)
{