diff options
author | Adam Jackson <ajax@redhat.com> | 2011-01-20 18:37:45 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-08 13:16:50 -0500 |
commit | 1564c82417d201de5b9a5ec5e7aa4ef14c45fbad (patch) | |
tree | 151801f1716c899db4ad57bb2b6ffc60592229c7 /hw/xfree86/common/xf86VGAarbiter.c | |
parent | d8caa782009abf4dc17b945e325e83fda299a534 (diff) |
dix: Remove usage_hint from pixmaps, store it in ->drawable.class
The class field was unused for pixmaps, and we don't have enough classes
to justify a whole uint32 anyway.
Reviewed-by: Soren Sandmann <ssp@redhat.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xfree86/common/xf86VGAarbiter.c')
-rw-r--r-- | hw/xfree86/common/xf86VGAarbiter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c index 215e8454a..c5ebb2780 100644 --- a/hw/xfree86/common/xf86VGAarbiter.c +++ b/hw/xfree86/common/xf86VGAarbiter.c @@ -369,13 +369,13 @@ VGAarbiterClearToBackground ( } static PixmapPtr -VGAarbiterCreatePixmap(ScreenPtr pScreen, int w, int h, int depth, unsigned usage_hint) +VGAarbiterCreatePixmap(ScreenPtr pScreen, int w, int h, int depth, unsigned class) { PixmapPtr pPix; SCREEN_PROLOG ( CreatePixmap); VGAGet(pScreen); - pPix = (*pScreen->CreatePixmap) (pScreen, w, h, depth, usage_hint); + pPix = (*pScreen->CreatePixmap) (pScreen, w, h, depth, class); VGAPut(); SCREEN_EPILOG (CreatePixmap, VGAarbiterCreatePixmap); |