diff options
author | Nanley Chery <nanley.g.chery@intel.com> | 2016-02-08 14:20:03 -0800 |
---|---|---|
committer | Nanley Chery <nanley.g.chery@intel.com> | 2016-02-08 14:26:02 -0800 |
commit | 0b6e493d0b3027947d695ced835bd16933856a3e (patch) | |
tree | 0cc298b4c49489114ae8088d7e79b5db897ae24f /gen_mipmaps.c | |
parent | 37ddeac9ae7ff5fd83fd3112566b651f12817e73 (diff) |
The former formula was hard-coded to handle 2D textures, which should
have a depth value of 0. 3D textures, however, should have a pixelDepth
value equal to the actual depth of the texture.
Reported-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Diffstat (limited to 'gen_mipmaps.c')
0 files changed, 0 insertions, 0 deletions