aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/pixmapstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/pixmapstr.h')
-rw-r--r--xorg-server/include/pixmapstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/include/pixmapstr.h b/xorg-server/include/pixmapstr.h
index 4150b69b7..8002b170a 100644
--- a/xorg-server/include/pixmapstr.h
+++ b/xorg-server/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. */
short screen_x;
short screen_y;
unsigned usage_hint; /* see CREATE_PIXMAP_USAGE_* */