diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-12-02 17:43:01 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-18 17:44:12 -0800 |
commit | 895f40792a14d8b88923bf3b428d31ae3bb31e46 (patch) | |
tree | 3f53eecbf3ffea314ee657a0254925fe65510605 /render/render.c | |
parent | a11c58fa0c5809f918b36b84be53385cb2d8ea59 (diff) |
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>
Diffstat (limited to 'render/render.c')
-rw-r--r-- | render/render.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/render/render.c b/render/render.c index 53bb55514..77e5e0396 100644 --- a/render/render.c +++ b/render/render.c @@ -46,7 +46,6 @@ #include "cursorstr.h" #include "xace.h" #include "protocol-versions.h" -#include "registry.h" #if HAVE_STDINT_H #include <stdint.h> @@ -3241,10 +3240,8 @@ PanoramiXRenderInit (void) { int i; - XRT_PICTURE = CreateNewResourceType (XineramaDeleteResource); - if (XRT_PICTURE) - RegisterResourceName(XRT_PICTURE, "XineramaPicture"); - + XRT_PICTURE = CreateNewResourceType (XineramaDeleteResource, + "XineramaPicture"); for (i = 0; i < RenderNumberRequests; i++) PanoramiXSaveRenderVector[i] = ProcRenderVector[i]; /* |