args.p = p[j];
args.face_id = filt_args->faces[j];
- if (lod[j] <= 0.0) {
+ if (lod[j] <= 0.0 && !args.gather_only) {
args.level = psview->u.tex.first_level;
mag_filter(sp_sview, sp_samp, &args, &rgba[0][j]);
}
args.p = p[j];
args.face_id = filt_args->faces[j];
- if (lod[j] <= 0.0) {
+ if (lod[j] <= 0.0 && !args.gather_only) {
args.level = psview->u.tex.first_level;
mag_filter(sp_sview, sp_samp, &args, &rgba[0][j]);
} else {
args.t = t[j];
args.p = p[j];
args.face_id = filt_args->faces[j];
- if (lod[j] <= 0.0f) {
+ if (lod[j] <= 0.0f && !args.gather_only) {
mag_filter(sp_sview, sp_samp, &args, &rgba[0][j]);
}
else {