intel: intelScreenContext() is no longer used
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 2 Jan 2010 04:26:50 +0000 (23:26 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 4 Jan 2010 16:48:03 +0000 (11:48 -0500)
src/mesa/drivers/dri/intel/intel_screen.c

index 742fd43fb2ba36d9cb8c3eb257fc44a0fb32cabf..5165716e092878ad93cf5b5388ea81527eab67dc 100644 (file)
@@ -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.