diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 13:01:50 +0200 |
---|---|---|
committer | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-05-08 13:01:50 +0200 |
commit | dd4a6d596bd66169c21b3669832aed71eda9838e (patch) | |
tree | dc6ebc54fc41a215acdba1f9dc8c378a4a3f3b0b | |
parent | 63e8ad83c7b7cb131e9213980f6c72df83ae6319 (diff) |
use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/18>
-rw-r--r-- | src/riva_xaa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/riva_xaa.c b/src/riva_xaa.c index 8d3d15f..d0a9b50 100644 --- a/src/riva_xaa.c +++ b/src/riva_xaa.c @@ -518,7 +518,7 @@ RivaAccelInit(ScreenPtr pScreen) /* Allocate buffer for color expansion and also image writes in the future */ - pRiva->expandBuffer = xnfalloc(((pScrn->virtualX*pScrn->bitsPerPixel)/8) + 8); + pRiva->expandBuffer = XNFalloc(((pScrn->virtualX*pScrn->bitsPerPixel)/8) + 8); infoPtr->ScanlineColorExpandBuffers = &pRiva->expandBuffer; |