From a1ea6f6198d80f716936a308cfab235f18a014e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 8 Mar 2008 19:15:50 -0500 Subject: Convert driCreateScreen and driDestroyScreen to function pointers. We avoid leaking the symbols and will be able to replace them with DRI2 implementation later on. --- src/glx/x11/glxext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glx/x11/glxext.c') diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index b4a03e4057..f71c049acd 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -349,7 +349,7 @@ static void FreeScreenConfigs(__GLXdisplayPrivate *priv) Xfree((char*) psc->serverGLXexts); #ifdef GLX_DIRECT_RENDERING - driDestroyScreen(psc); + psc->driDestroyScreen(psc); #endif } XFree((char*) priv->screenConfigs); @@ -772,7 +772,7 @@ static Bool AllocAndFetchScreenConfigs(Display *dpy, __GLXdisplayPrivate *priv) psc->scr = i; psc->dpy = dpy; #ifdef GLX_DIRECT_RENDERING - driCreateScreen(psc, i, priv); + (*priv->driDisplay->createScreen)(psc, i, priv); #endif } SyncHandle(); -- cgit v1.2.3