Remove now unused setTexOffset from __DriverAPIRec.
authorKristian Høgsberg <krh@redhat.com>
Mon, 25 Feb 2008 20:36:42 +0000 (15:36 -0500)
committerKristian Høgsberg <krh@redhat.com>
Tue, 26 Feb 2008 00:02:06 +0000 (19:02 -0500)
src/mesa/drivers/dri/common/dri_util.h
src/mesa/drivers/dri/intel/intel_screen.c

index db7eeed92a848473981acaf4baf938a2d7317fe8..fb2081412a69ac837ca26a256c920f364ce47264 100644 (file)
@@ -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).
index 463d015d688429f2f0b58ca935b31924495c3c87..50cab3de06f9d90854e7eb507dd4d0d7229beee2 100644 (file)
@@ -678,9 +678,6 @@ static const struct __DriverAPIRec intelAPI = {
    .WaitForSBC = NULL,
    .SwapBuffersMSC = NULL,
    .CopySubBuffer = intelCopySubBuffer,
-#ifdef I915
-   .setTexOffset = intelSetTexOffset,
-#endif
    .UpdateBuffer = intelUpdateBuffer,
 };