From: Kristian Høgsberg Date: Mon, 25 Feb 2008 20:36:42 +0000 (-0500) Subject: Remove now unused setTexOffset from __DriverAPIRec. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b49a8f805aec057d9d0b039531b373b6bd8330e2;p=mesa.git Remove now unused setTexOffset from __DriverAPIRec. --- 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, };