summaryrefslogtreecommitdiff
path: root/fb/fbarc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-03-29 14:27:41 +1000
committerDave Airlie <airlied@redhat.com>2011-04-01 10:28:06 +1000
commitbe9cfb249da18d134c1d65bbb75161aff65f2942 (patch)
tree6dbbadeaeed6ce53a5308c0da8b6353940face20 /fb/fbarc.c
parente0a2ad51dfb7373aa602335490d9666d6101b5ea (diff)
fb: drop defines that aren't used/necessary anymore.
This was generated by: cd fb coan source --replace -DFB_SCREEN_PRIVATE -DFB_24BIT -DFB_24_32BIT -DFB_SCREEN_PRIVATE -UFBNOPIXADDR -UFBNO24BIT -UFBNO24_32 *.[ch] A follow up patch readds the FB_24_32BIT define for Intel UXA. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'fb/fbarc.c')
-rw-r--r--fb/fbarc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fb/fbarc.c b/fb/fbarc.c
index 33e44b0c6..a0c5343e0 100644
--- a/fb/fbarc.c
+++ b/fb/fbarc.c
@@ -47,7 +47,6 @@ fbPolyArc (DrawablePtr pDrawable,
if (pGC->lineWidth == 0)
{
-#ifndef FBNOPIXADDR
arc = 0;
if (pGC->lineStyle == LineSolid && pGC->fillStyle == FillSolid)
{
@@ -55,9 +54,7 @@ fbPolyArc (DrawablePtr pDrawable,
{
case 8: arc = fbArc8; break;
case 16: arc = fbArc16; break;
-#ifdef FB_24BIT
case 24: arc = fbArc24; break;
-#endif
case 32: arc = fbArc32; break;
}
}
@@ -141,7 +138,6 @@ fbPolyArc (DrawablePtr pDrawable,
#endif
}
else
-#endif
miZeroPolyArc (pDrawable, pGC, narcs, parcs);
}
else