summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-01-01 23:26:50 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-01-04 11:48:03 -0500
commit51362a75a70f982dc076064ff266e8eb6a0e3a8b (patch)
treefcc68bbb76a46d1be875d34404a11e58f9f45698 /src/mesa
parent5a0b60aa1b9c1c4ce15c6b461e24622e9f71286d (diff)
intel: intelScreenContext() is no longer used
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 742fd43fb2..5165716e09 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -299,21 +299,6 @@ intel_init_bufmgr(intelScreenPrivate *intelScreen)
return GL_TRUE;
}
-struct intel_context *intelScreenContext(intelScreenPrivate *intelScreen)
-{
- /*
- * This should probably change to have the screen allocate a dummy
- * context at screen creation. For now just use the current context.
- */
-
- GET_CURRENT_CONTEXT(ctx);
- if (ctx == NULL) {
- _mesa_problem(NULL, "No current context in intelScreenContext\n");
- return NULL;
- }
- return intel_context(ctx);
-}
-
/**
* This is the driver specific part of the createNewScreen entry point.
* Called when using DRI2.