From 3956597962dcf6c8082541199ebac58e0d84f6bc Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Fri, 28 Dec 2007 18:03:39 -0800 Subject: Bug #13839: Fix 3D texture offset miscalculation with pixels versus bytes. --- src/mesa/drivers/dri/intel/intel_mipmap_tree.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/dri/intel/intel_mipmap_tree.h') diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h index 968eec4fec..e3b31f9c6e 100644 --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h @@ -73,6 +73,7 @@ struct intel_mipmap_level * are going to be so diverse that there is no unified way to * compute the offsets of depth/cube images within a mipmap level, * so have to store them as a lookup table: + * NOTE level_offset is a byte offset, but the image_offsets are _pixel_ offsets!!! */ GLuint *image_offset; }; -- cgit v1.2.3