xwayland: 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
cdd0352ba0
commit
17e4885700
|
@ -213,7 +213,7 @@ xwl_glamor_xv_add_formats(XvAdaptorPtr pa)
|
||||||
void *moreSpace;
|
void *moreSpace;
|
||||||
|
|
||||||
totFormat *= 2;
|
totFormat *= 2;
|
||||||
moreSpace = XNFreallocarray(pFormat, totFormat,
|
moreSpace = xnfreallocarray(pFormat, totFormat,
|
||||||
sizeof(XvFormatRec));
|
sizeof(XvFormatRec));
|
||||||
pFormat = moreSpace;
|
pFormat = moreSpace;
|
||||||
pf = pFormat + numFormat;
|
pf = pFormat + numFormat;
|
||||||
|
|
Loading…
Reference in New Issue