radeon: make cubemap mipmap generation work
authorRoland Scheidegger <sroland@vmware.com>
Fri, 19 Jun 2009 22:27:36 +0000 (00:27 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 19 Jun 2009 22:28:39 +0000 (00:28 +0200)
commit402df41c1c7655439d22efead08153dc29fe2afd
tree976389e7741fc2a62be0de323c200b7de65cfd2f
parent7a5c5b9af3699f55b5c5be170a791f1ac2e05457
radeon: make cubemap mipmap generation work

need to pass target parameter to radeon_teximage/radeon_subteximage functions
otherwise mipmap generation for cube maps can't work (assert/segfault in
_mesa_generate_mipmap)
src/mesa/drivers/dri/radeon/radeon_texture.c