summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-07-12 00:36:10 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-07-12 13:24:49 +0100
commitbcbf95b1bafa6ffe724768b9309295e2fdb4b860 (patch)
tree40802c0e359ffd5720c488e180d90e0ca9b44c93 /glx
parentdeb08658e2a6b1647a7213a316c6f3019bcdce48 (diff)
Revert bogus GlxPushProvider() in commit a1d41e3
a1d41e3 "Move extension initialisation prototypes into extinit.h" also includes a change to GlxExtensionInit to install the swrast GLX provider. Since b86aa74 "GLX: Insert swrast provider from GlxExtensionInit" already does this (correctly, by installing the swrast provider at the end of the chain, rather than at the beginning), and since this would seem to have the effect of making the swrast provider the most preferred provider, I'm guessing this wasn't intended. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'glx')
-rw-r--r--glx/glxext.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/glx/glxext.c b/glx/glxext.c
index a1f9d42e9..70f0df892 100644
--- a/glx/glxext.c
+++ b/glx/glxext.c
@@ -339,9 +339,6 @@ GlxExtensionInit(void)
if (!__glXContextRes || !__glXDrawableRes)
return;
- if (serverGeneration == 1)
- GlxPushProvider(&__glXDRISWRastProvider);
-
if (!dixRegisterPrivateKey
(&glxClientPrivateKeyRec, PRIVATE_CLIENT, sizeof(__GLXclientState)))
return;