mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Add type name argument to CreateNewResourceType
Convert all calls of CreateNewResourceType to pass name argument Breaks DIX ABI. ABI versions bumped: Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
committed by
Keith Packard
parent
a11c58fa0c
commit
895f40792a
@@ -62,7 +62,6 @@ SOFTWARE.
|
||||
#include "mifpoly.h"
|
||||
#include "mi.h"
|
||||
#include "mifillarc.h"
|
||||
#include "registry.h"
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
static double miDsin(double a);
|
||||
@@ -867,8 +866,7 @@ miComputeWideEllipse(
|
||||
}
|
||||
if (!cacheType)
|
||||
{
|
||||
cacheType = CreateNewResourceType(miFreeArcCache);
|
||||
RegisterResourceName(cacheType, "miArcCache");
|
||||
cacheType = CreateNewResourceType(miFreeArcCache, "miArcCache");
|
||||
(void) AddResource(FakeClientID(0), cacheType, NULL);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user