From b49a8f805aec057d9d0b039531b373b6bd8330e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 25 Feb 2008 15:36:42 -0500 Subject: [PATCH] Remove now unused setTexOffset from __DriverAPIRec. --- src/mesa/drivers/dri/common/dri_util.h | 6 ------ src/mesa/drivers/dri/intel/intel_screen.c | 3 --- 2 files changed, 9 deletions(-) diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h index db7eeed92a8..fb2081412a6 100644 --- a/src/mesa/drivers/dri/common/dri_util.h +++ b/src/mesa/drivers/dri/common/dri_util.h @@ -205,12 +205,6 @@ struct __DriverAPIRec { void (*CopySubBuffer)(__DRIdrawablePrivate *driDrawPriv, 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 463d015d688..50cab3de06f 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, }; -- 2.30.2