Signed-off-by: Emil Velikov <[email protected]>
---

The current lower/upper case mix of the xnf API feels quite strange:

ati/amdgpu/intel/nouveau... ddx seems to explicitly use the lower case 
xnfalloc as does the xserver (with these two patches). At the same time 
both xserver and the drivers rely on the uppercase xnfprintf ones.

Looks like nasty legacy ... if we only had someone brave enouch to unify 
the whole tree ;-)

-Emil


 glamor/glamor_vbo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glamor/glamor_vbo.c b/glamor/glamor_vbo.c
index b8db009..2799e1b 100644
--- a/glamor/glamor_vbo.c
+++ b/glamor/glamor_vbo.c
@@ -128,7 +128,7 @@ glamor_get_vbo_space(ScreenPtr screen, unsigned size, char 
**vbo_offset)
         if (glamor_priv->vbo_size < size) {
             glamor_priv->vbo_size = MAX(GLAMOR_VBO_SIZE, size);
             free(glamor_priv->vb);
-            glamor_priv->vb = XNFalloc(glamor_priv->vbo_size);
+            glamor_priv->vb = xnfalloc(glamor_priv->vbo_size);
         }
         *vbo_offset = NULL;
         /* We point to the start of glamor_priv->vb every time, and
-- 
2.8.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to