소스 검색

mesa: remove unused gl_texture_image::DriverData field

Was only used by some older/removed DRI drivers.
tags/mesa-8.0-rc1
Brian Paul 14 년 전
부모
커밋
2c5bb57b50
2개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0
    1
      src/mesa/main/mipmap.c
  2. 0
    7
      src/mesa/main/mtypes.h

+ 0
- 1
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,

+ 0
- 7
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 */
/*@}*/
};



Loading…
취소
저장