diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-05-19 22:45:26 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-05-19 22:49:25 -0400 |
commit | 22a33a7250f879b8f3eb84176a1dc57027d8cfe4 (patch) | |
tree | a0dcdeb375c5fafe3d986bcff55e8aed6e247fb1 /glx | |
parent | 77e90261d5f91e1170c6e02deb0e3739c24fcfd6 (diff) |
glx: Register names for the GLX resource types.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxext.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/glx/glxext.c b/glx/glxext.c index 6bc7bef8e..bdacf8865 100644 --- a/glx/glxext.c +++ b/glx/glxext.c @@ -36,6 +36,7 @@ #include "glxserver.h" #include <windowstr.h> #include <propertyst.h> +#include <registry.h> #include "privates.h" #include <os.h> #include "g_disptab.h" @@ -317,6 +318,10 @@ void GlxExtensionInit(void) __glXDrawableRes = CreateNewResourceType((DeleteType)DrawableGone); __glXSwapBarrierRes = CreateNewResourceType((DeleteType)SwapBarrierGone); + RegisterResourceName(__glXContextRes, "GLXContext"); + RegisterResourceName(__glXDrawableRes, "GLXDrawable"); + RegisterResourceName(__glXSwapBarrierRes, "GLXSwapBarrier"); + if (!dixRequestPrivate(glxClientPrivateKey, sizeof (__GLXclientState))) return; if (!AddCallback (&ClientStateCallback, glxClientCallback, 0)) |