diff options
author | Brian Paul <[email protected]> | 2011-10-05 21:14:37 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-10-05 21:14:37 -0600 |
commit | 2c5bb57b509d03f5ae380524c61e1c0702d9e1b2 (patch) | |
tree | db0afd24f62145b41f57478ed95e859c535c6c84 /src/mesa/main | |
parent | cf2439e2463ce925e3e256a25a505cf0586963f0 (diff) |
mesa: remove unused gl_texture_image::DriverData field
Was only used by some older/removed DRI drivers.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mipmap.c | 1 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index c2f92267439..1fa49caa41d 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@ -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, diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 4fe442fa408..e31045989dc 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -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 */ - /*@}*/ }; |