mesa: remove unused gl_texture_image::DriverData field
authorBrian Paul <brianp@vmware.com>
Thu, 6 Oct 2011 03:14:37 +0000 (21:14 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 6 Oct 2011 03:14:37 +0000 (21:14 -0600)
Was only used by some older/removed DRI drivers.

src/mesa/main/mipmap.c
src/mesa/main/mtypes.h

index c2f92267439a9b4f0e8fb00caf77ba06fcca8c55..1fa49caa41d467fac4473ac3e215b800f238eb00 100644 (file)
@@ -1816,7 +1816,6 @@ generate_mipmap_uncompressed(struct gl_context *ctx, GLenum target,
       _mesa_init_teximage_fields(ctx, target, dstImage, dstWidth, dstHeight,
                                  dstDepth, border, srcImage->InternalFormat,
                                  srcImage->TexFormat);
-      dstImage->DriverData = NULL;
 
       /* Alloc storage for new texture image */
       if (!ctx->Driver.AllocTextureImageBuffer(ctx, dstImage,
index 4fe442fa4084d4d066d19638a0373bd3e166f61b..e31045989dcfd54b3b79f887190aa2cd27607ede 100644 (file)
@@ -1269,13 +1269,6 @@ struct gl_texture_image
    GLuint *ImageOffsets;        /**< if 3D texture: array [Depth] of offsets to
                                      each 2D slice in 'Data', in texels */
    GLvoid *Data;               /**< Image data, accessed via FetchTexel() */
-
-   /**
-    * \name For device driver:
-    */
-   /*@{*/
-   void *DriverData;           /**< Arbitrary device driver data */
-   /*@}*/
 };