diff options
author | George Sapountzis <gsapountzis@gmail.com> | 2010-03-26 18:44:39 +0200 |
---|---|---|
committer | George Sapountzis <gsapountzis@gmail.com> | 2010-03-26 18:44:39 +0200 |
commit | 4b722bf9fde668dff1c2b55b34eb3f86c78f43fb (patch) | |
tree | 0baceda9b9431a48b75cda352d818a023186d68a /src/gallium/state_trackers/dri/common/dri_context.c | |
parent | 22cd6f2cb4996de0a30c8f865f7011898ac8b8e2 (diff) |
st/dri: fold dri_extensions.c into dri_context.c
Diffstat (limited to 'src/gallium/state_trackers/dri/common/dri_context.c')
-rw-r--r-- | src/gallium/state_trackers/dri/common/dri_context.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_context.c b/src/gallium/state_trackers/dri/common/dri_context.c index 34d9a932ea..f14f4130bf 100644 --- a/src/gallium/state_trackers/dri/common/dri_context.c +++ b/src/gallium/state_trackers/dri/common/dri_context.c @@ -29,13 +29,25 @@ * Author: Jakob Bornecrantz <wallbraker@gmail.com> */ +#include "utils.h" + #include "dri_screen.h" #include "dri_drawable.h" #include "dri_context.h" #include "dri_st_api.h" #include "pipe/p_context.h" -#include "util/u_memory.h" +#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); +} GLboolean dri_create_context(const __GLcontextModes * visual, |