summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_tex.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-06-18 23:40:21 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-06-24 15:03:44 -0700
commit3e258f7e31ab38edd6dbd07a4153c0cc6bce695c (patch)
tree84710f3eb007a8a54f3552a7d4b1713d7fe5c57a /src/mesa/drivers/dri/i965/intel_tex.h
parent8ee23d6866b9325450d787e5d55a367423ae4316 (diff)
downloadexternal_mesa3d-3e258f7e31ab38edd6dbd07a4153c0cc6bce695c.zip
external_mesa3d-3e258f7e31ab38edd6dbd07a4153c0cc6bce695c.tar.gz
external_mesa3d-3e258f7e31ab38edd6dbd07a4153c0cc6bce695c.tar.bz2
i965: Drop unused return value from intel_finalize_mipmap_tree().
The old return type of GLuint was wonky - it should have been bool. But nothing actually uses the return value anyway, so we can just drop that and make it a void function. In theory, it might make sense to ask whether the texture validated successfully, but just checking intel_obj->mt != NULL works for that. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_tex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex.h b/src/mesa/drivers/dri/i965/intel_tex.h
index 35d0a64..376f075 100644
--- a/src/mesa/drivers/dri/i965/intel_tex.h
+++ b/src/mesa/drivers/dri/i965/intel_tex.h
@@ -51,7 +51,7 @@ intel_miptree_create_for_teximage(struct brw_context *brw,
struct intel_texture_image *intelImage,
uint32_t layout_flags);
-GLuint intel_finalize_mipmap_tree(struct brw_context *brw, GLuint unit);
+void intel_finalize_mipmap_tree(struct brw_context *brw, GLuint unit);
bool
intel_texsubimage_tiled_memcpy(struct gl_context *ctx,