pixmap: Add some notes to devKind and devPrivate.

This commit is contained in:
Maarten Maathuis 2008-10-10 00:28:34 +02:00
parent 4808bdec45
commit 956a4ba40b

View File

@ -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;