summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-06-09 15:30:22 +1000
committerDave Airlie <airlied@redhat.com>2015-06-30 12:17:51 +1000
commit8218dadd30eb0c87efbac6db5d8e3862a236b6a4 (patch)
treed00f9113accd31c0fdd855c4910081344d0dd0d7 /xfixes
parentfa12f2c150b2f50de9dac4a2b09265f13af353af (diff)
cursor: drop ARGB_CURSOR
I doubt anyone builds with this turned off or has done for a long time. It helps my eyes bleed slightly less when reading the code, I've left the define in place as some drivers use it. Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'xfixes')
-rw-r--r--xfixes/cursor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xfixes/cursor.c b/xfixes/cursor.c
index 94d24a8e2..5619aad2e 100644
--- a/xfixes/cursor.c
+++ b/xfixes/cursor.c
@@ -306,11 +306,9 @@ CopyCursorToImage(CursorPtr pCursor, CARD32 *image)
int height = pCursor->bits->height;
int npixels = width * height;
-#ifdef ARGB_CURSOR
if (pCursor->bits->argb)
memcpy(image, pCursor->bits->argb, npixels * sizeof(CARD32));
else
-#endif
{
unsigned char *srcLine = pCursor->bits->source;
unsigned char *mskLine = pCursor->bits->mask;