From 9ac9d133ed3d675a0c4cb527fb643ca590fe7d78 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 20 Feb 2014 14:49:50 -0800 Subject: intel: Remove some dead code I noticed in intel_screen.c. It was present in the initial i915tex import. Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i915/intel_screen.c | 4 ---- src/mesa/drivers/dri/i965/intel_screen.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 296df16507e..b3199b152db 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 b5b0294c8a0..34bda9f9a35 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. */ -- cgit v1.2.3