commit b554de479b6485268d3f20b93aa3abe2465afb70
parent 677bad93dd788141b13f87c5d10557fff0264dff
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 28 Jul 2015 21:55:04 +0200
Fix an issue in the s3d_sampler_begin_sampling process
The flip_surface state of the sampled meshes was not flush in the
sampler geometry cache.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/s3d_sampler.c b/src/s3d_sampler.c
@@ -120,6 +120,7 @@ cache_mesh(struct mesh* cache, struct mesh* mesh)
cache->attribs[i] = mesh->attribs[i];
cache->attribs_type[i] = mesh->attribs_type[i];
}
+ cache->flip_surface = mesh->flip_surface;
return upd_geom;
}