summaryrefslogtreecommitdiff
path: root/render/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/render.c')
-rw-r--r--render/render.c7
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];
/*