diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 00:19:15 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-01-28 01:24:19 +0200 |
commit | 0abcb2b2c84a50e64bb6aa9e94760659ecf33add (patch) | |
tree | 754e64a8a051f23d17e5e06099d0131fa2b4f2e8 /src/aticursor.c | |
parent | 817b4b5338dba4d8eb862f1f79ef0edb75aad7f4 (diff) |
Clean pATI->Adapter and pATI->VGAAdapter.
- cull (pATI->Adapter != ATI_ADAPTER_MACH64)
- treat pATI->VGAAdapter as Bool
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; |