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;
|
||||
|
||||
totFormat *= 2;
|
||||
moreSpace = XNFreallocarray(pFormat, totFormat,
|
||||
moreSpace = xnfreallocarray(pFormat, totFormat,
|
||||
sizeof(XvFormatRec));
|
||||
pFormat = moreSpace;
|
||||
pf = pFormat + numFormat;
|
||||
|
|
Loading…
Reference in New Issue