[cairo-commit] libpixman/src icint.h,1.34,1.35

Owen Taylor commit at pdx.freedesktop.org
Wed Jul 27 14:12:01 PDT 2005


Committed by: otaylor

Update of /cvs/cairo/libpixman/src
In directory gabe:/tmp/cvs-serv22816/src

Modified Files:
	icint.h 
Log Message:
2005-07-27  Owen Taylor  <otaylor at redhat.com>

        * src/icint.h (FbGetStipPixels): Fix units for stride return
        to be FbStip-sized.
: ----------------------------------------------------------------------


Index: icint.h
===================================================================
RCS file: /cvs/cairo/libpixman/src/icint.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- icint.h	25 Jun 2005 22:03:17 -0000	1.34
+++ icint.h	27 Jul 2005 21:11:59 -0000	1.35
@@ -557,7 +557,7 @@
 
 #define FbGetStipPixels(icpixels, pointer, _stride_, _bpp_, xoff, yoff) { \
     (pointer) = (FbStip *) icpixels->data; \
-    (_stride_) = icpixels->stride; \
+    (_stride_) = icpixels->stride / sizeof(FbStip); \
     (_bpp_) = icpixels->bpp; \
     (xoff) = icpixels->x; \
     (yoff) = icpixels->y; \




More information about the cairo-commit mailing list