diff options
Diffstat (limited to 'hw/xfree86/dri/dri.c')
-rw-r--r-- | hw/xfree86/dri/dri.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index be0604e27..836967c73 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -51,7 +51,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "misc.h" #include "dixstruct.h" #include "extnsionst.h" -#include "registry.h" #include "colormapst.h" #include "cursorstr.h" #include "scrnintstr.h" @@ -790,13 +789,13 @@ DRIExtensionInit(void) return FALSE; } - DRIDrawablePrivResType = CreateNewResourceType(DRIDrawablePrivDelete); - DRIContextPrivResType = CreateNewResourceType(DRIContextPrivDelete); + DRIDrawablePrivResType = CreateNewResourceType(DRIDrawablePrivDelete, + "DRIDrawable"); + DRIContextPrivResType = CreateNewResourceType(DRIContextPrivDelete, + "DRIContext"); if (!DRIDrawablePrivResType || !DRIContextPrivResType) return FALSE; - RegisterResourceName(DRIDrawablePrivResType, "DRIDrawable"); - RegisterResourceName(DRIContextPrivResType, "DRIContext"); RegisterBlockAndWakeupHandlers(DRIBlockHandler, DRIWakeupHandler, NULL); |