gallivm: fix copy&paste bug

looks like pot_depth should be used, not pot_height
(found by accident, not verified)
This commit is contained in:
Roland Scheidegger 2010-09-22 17:59:00 +02:00 committed by José Fonseca
parent 16a457bba6
commit 26dc60d0a3

View file

@ -605,7 +605,7 @@ lp_build_sample_image_nearest(struct lp_build_sample_context *bld,
if (dims == 3) {
z = lp_build_sample_wrap_nearest(bld, r, depth_vec,
bld->static_state->pot_height,
bld->static_state->pot_depth,
bld->static_state->wrap_r);
lp_build_name(z, "tex.z.wrapped");
}