summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-02-25 15:36:42 -0500
committerKristian Høgsberg <krh@redhat.com>2008-02-25 19:02:06 -0500
commitb49a8f805aec057d9d0b039531b373b6bd8330e2 (patch)
treeb66206ff10b7d5d7deb3214d4e2692e8c15213d0
parent57f310b2c99ddd3d0cdf671647f8242f7cdd551a (diff)
Remove now unused setTexOffset from __DriverAPIRec.
-rw-r--r--src/mesa/drivers/dri/common/dri_util.h6
-rw-r--r--src/mesa/drivers/dri/intel/intel_screen.c3
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h
index db7eeed92a..fb2081412a 100644
--- a/src/mesa/drivers/dri/common/dri_util.h
+++ b/src/mesa/drivers/dri/common/dri_util.h
@@ -206,12 +206,6 @@ struct __DriverAPIRec {
int x, int y, int w, int h);
/**
- * See corresponding field in \c __DRIscreenRec.
- */
- void (*setTexOffset)(__DRIcontext *pDRICtx, GLint texname,
- unsigned long long offset, GLint depth, GLuint pitch);
-
- /**
* New version of GetMSC so we can pass drawable data to the low level
* DRM driver (e.g. pipe info).
*/
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 463d015d68..50cab3de06 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -678,9 +678,6 @@ static const struct __DriverAPIRec intelAPI = {
.WaitForSBC = NULL,
.SwapBuffersMSC = NULL,
.CopySubBuffer = intelCopySubBuffer,
-#ifdef I915
- .setTexOffset = intelSetTexOffset,
-#endif
.UpdateBuffer = intelUpdateBuffer,
};