glamor: use the lowercase xnf.*alloc API
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
17e4885700
commit
e12e02b2e6
|
@ -128,7 +128,7 @@ glamor_get_vbo_space(ScreenPtr screen, unsigned size, char **vbo_offset)
|
||||||
if (glamor_priv->vbo_size < size) {
|
if (glamor_priv->vbo_size < size) {
|
||||||
glamor_priv->vbo_size = MAX(GLAMOR_VBO_SIZE, size);
|
glamor_priv->vbo_size = MAX(GLAMOR_VBO_SIZE, size);
|
||||||
free(glamor_priv->vb);
|
free(glamor_priv->vb);
|
||||||
glamor_priv->vb = XNFalloc(glamor_priv->vbo_size);
|
glamor_priv->vb = xnfalloc(glamor_priv->vbo_size);
|
||||||
}
|
}
|
||||||
*vbo_offset = NULL;
|
*vbo_offset = NULL;
|
||||||
/* We point to the start of glamor_priv->vb every time, and
|
/* We point to the start of glamor_priv->vb every time, and
|
||||||
|
|
Loading…
Reference in New Issue