OSDN Git Service

intel: Remove some dead code I noticed in intel_screen.c.
authorEric Anholt <eric@anholt.net>
Thu, 20 Feb 2014 22:49:50 +0000 (14:49 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 23 Feb 2014 03:23:20 +0000 (19:23 -0800)
It was present in the initial i915tex import.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i915/intel_screen.c
src/mesa/drivers/dri/i965/intel_screen.c

index 296df16..b3199b1 100644 (file)
@@ -94,10 +94,6 @@ DRI_CONF_END
 
 #include "i915_drm.h"
 
-#ifdef USE_NEW_INTERFACE
-static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
-#endif /*USE_NEW_INTERFACE */
-
 /**
  * For debugging purposes, this returns a time in seconds.
  */
index b5b0294..34bda9f 100644 (file)
@@ -105,10 +105,6 @@ DRI_CONF_END
 
 #include "i915_drm.h"
 
-#ifdef USE_NEW_INTERFACE
-static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
-#endif /*USE_NEW_INTERFACE */
-
 /**
  * For debugging purposes, this returns a time in seconds.
  */