summaryrefslogtreecommitdiff
path: root/hw/dmx/glxProxy/glxext.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/glxProxy/glxext.c')
-rw-r--r--hw/dmx/glxProxy/glxext.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/hw/dmx/glxProxy/glxext.c b/hw/dmx/glxProxy/glxext.c
index c00ae6ee5..6cd8bb41a 100644
--- a/hw/dmx/glxProxy/glxext.c
+++ b/hw/dmx/glxProxy/glxext.c
@@ -44,7 +44,6 @@
#include "glxvisuals.h"
#include "micmap.h"
#include "glxswap.h"
-#include "registry.h"
/*
** Stubs to satisfy miinitext.c references.
@@ -294,22 +293,21 @@ void GlxExtensionInit(void)
return;
}
- __glXContextRes = CreateNewResourceType((DeleteType)ContextGone);
- __glXClientRes = CreateNewResourceType((DeleteType)ClientGone);
- __glXPixmapRes = CreateNewResourceType((DeleteType)PixmapGone);
- __glXWindowRes = CreateNewResourceType((DeleteType)WindowGone);
- __glXPbufferRes = CreateNewResourceType((DeleteType)PbufferGone);
+ __glXContextRes = CreateNewResourceType((DeleteType)ContextGone,
+ "GLXContext");
+ __glXClientRes = CreateNewResourceType((DeleteType)ClientGone,
+ "GLXClient");
+ __glXPixmapRes = CreateNewResourceType((DeleteType)PixmapGone,
+ "GLXPixmap");
+ __glXWindowRes = CreateNewResourceType((DeleteType)WindowGone,
+ "GLXWindow");
+ __glXPbufferRes = CreateNewResourceType((DeleteType)PbufferGone,
+ "GLXPbuffer");
if (!__glXContextRes || !__glXClientRes || !__glXPixmapRes ||
!__glXWindowRes || !__glXPbufferRes)
return;
- RegisterResourceName(__glXContextRes, "GLXContext");
- RegisterResourceName(__glXClientRes, "GLXClient");
- RegisterResourceName(__glXPixmapRes, "GLXPixmap");
- RegisterResourceName(__glXWindowRes, "GLXWindow");
- RegisterResourceName(__glXPbufferRes, "GLXPbuffer");
-
/*
** Add extension to server extensions.
*/