diff options
Diffstat (limited to 'src/aticursor.c')
-rw-r--r-- | src/aticursor.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/aticursor.c b/src/aticursor.c index a7c98ac8..e2da78cb 100644 --- a/src/aticursor.c +++ b/src/aticursor.c @@ -24,7 +24,6 @@ #include "config.h" #endif -#include "atiadapter.h" #include "aticursor.h" #include "atimach64cursor.h" #include "atistruct.h" @@ -53,14 +52,8 @@ ATIInitializeCursor if (!(pATI->pCursorInfo = xf86CreateCursorInfoRec())) return FALSE; - switch (pATI->Adapter) + if (!ATIMach64CursorInit(pATI->pCursorInfo)) { - case ATI_ADAPTER_MACH64: - if (ATIMach64CursorInit(pATI->pCursorInfo)) - break; - /* Fall through */ - - default: xf86DestroyCursorInfoRec(pATI->pCursorInfo); pATI->pCursorInfo = NULL; return FALSE; |