summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-10-10 00:28:34 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-10-10 16:14:23 +0200
commit956a4ba40b28251ab2d88b5d5b0796e01afd2bdd (patch)
treef940c135409eacc6055493ed79e81641b63d244c
parent4808bdec45775342eb9a6352b41e4919e1a69279 (diff)
pixmap: Add some notes to devKind and devPrivate.
-rw-r--r--include/pixmapstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pixmapstr.h b/include/pixmapstr.h
index cc5a8d8de..702faf0ac 100644
--- a/include/pixmapstr.h
+++ b/include/pixmapstr.h
@@ -74,8 +74,8 @@ typedef struct _Pixmap {
DrawableRec drawable;
PrivateRec *devPrivates;
int refcnt;
- int devKind;
- DevUnion devPrivate;
+ int devKind; /* This is the pitch of the pixmap, typically width*bpp/8. */
+ DevUnion devPrivate; /* When !NULL, devPrivate.ptr points to the raw pixel data. */
#ifdef COMPOSITE
short screen_x;
short screen_y;