summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-09-10 12:33:02 +0200
committerMarek Olšák <maraeo@gmail.com>2011-09-10 12:33:02 +0200
commit7e302168798907e6e0b08d96141d97f04958a73e (patch)
treee4e92c32cd1374b7a9c32c7fff68927dab1e9ca3 /src/gallium
parent6b9a36cc3ff3b0a65f70b8a5503e26339a0e4fbe (diff)
st/dri: remove the call to driInitExtensions
The function no longer exists. This fixes Gallium build.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/dri/common/dri_context.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_context.c b/src/gallium/state_trackers/dri/common/dri_context.c
index bc8dacba1b7..2dc8119eb6e 100644
--- a/src/gallium/state_trackers/dri/common/dri_context.c
+++ b/src/gallium/state_trackers/dri/common/dri_context.c
@@ -39,16 +39,6 @@
#include "state_tracker/st_context.h"
static void
-dri_init_extensions(struct dri_context *ctx)
-{
- struct st_context *st = (struct st_context *) ctx->st;
-
- /* New extensions should be added in mesa/state_tracker/st_extensions.c
- * and not in this file. */
- driInitExtensions(st->ctx, NULL, GL_FALSE);
-}
-
-static void
dri_pp_query(struct dri_context *ctx)
{
unsigned int i;
@@ -105,16 +95,6 @@ dri_create_context(gl_api api, const struct gl_config * visual,
ctx->st->st_manager_private = (void *) ctx;
ctx->stapi = stapi;
- /*
- * libmesagallium.a that this state tracker will be linked to expects
- * OpenGL's _glapi_table. That is, it expects libGL.so instead of
- * libGLESv1_CM.so or libGLESv2.so. As there is no clean way to know the
- * shared library the app links to, use the api as a simple check.
- * It might be as well to simply remove this function call though.
- */
- if (api == API_OPENGL)
- dri_init_extensions(ctx);
-
// Context successfully created. See if post-processing is requested.
dri_pp_query(ctx);