[Mesa-dev] [PATCH 4/8] intel: Remove some dead code I noticed in intel_screen.c.
Eric Anholt
eric at anholt.net
Fri Feb 21 11:32:30 PST 2014
It was present in the initial i915tex import.
---
src/mesa/drivers/dri/i915/intel_screen.c | 4 ----
src/mesa/drivers/dri/i965/intel_screen.c | 4 ----
2 files changed, 8 deletions(-)
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index 296df16..b3199b1 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -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.
*/
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index b5b0294..34bda9f 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -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.
*/
--
1.9.rc1
More information about the mesa-dev
mailing list