summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/sw/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/gallium/winsys/sw/dri
parentf4e561ce127cf484d7c76c29b8cd026c9ad5cebc (diff)
drisw: add comment to libGL about stride
Diffstat (limited to 'src/gallium/winsys/sw/dri')
-rw-r--r--src/gallium/winsys/sw/dri/dri_sw_winsys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
index 9e8c31282d4..ee8ec91bc52 100644
--- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c
+++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
@@ -62,6 +62,7 @@ xm_is_displaytarget_format_supported( struct sw_winsys *ws,
return TRUE;
}
+/* see bytes_per_line in libGL */
static INLINE int
bytes_per_line(unsigned pitch_bits, unsigned mul)
{