summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-02-20 14:49:50 -0800
committerEric Anholt <[email protected]>2014-02-22 19:23:20 -0800
commit9ac9d133ed3d675a0c4cb527fb643ca590fe7d78 (patch)
tree87a663eca91829a3394c803ab4c54fa637cf8bf1 /src
parentfdcf6c8fad9edfc87eb5f647af254a6fd6b3b71c (diff)
intel: Remove some dead code I noticed in intel_screen.c.
It was present in the initial i915tex import. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/intel_screen.c4
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c4
2 files changed, 0 insertions, 8 deletions
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.
*/