summaryrefslogtreecommitdiff
path: root/gen_mipmaps.c
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-02-08 14:20:03 -0800
committerNanley Chery <nanley.g.chery@intel.com>2016-02-08 14:26:02 -0800
commit0b6e493d0b3027947d695ced835bd16933856a3e (patch)
tree0cc298b4c49489114ae8088d7e79b5db897ae24f /gen_mipmaps.c
parent37ddeac9ae7ff5fd83fd3112566b651f12817e73 (diff)
gen_ktx: Fix pixelDepth value for 3D texturesHEADmaster
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