More work on the renderscript sample
Change-Id: Ib1812bbaa38180ca63d6d53c9cc3aeeee4134725
This commit is contained in:
@@ -78,7 +78,7 @@ public class Sampler extends BaseObj {
|
||||
if(rs.mSampler_CLAMP_LINEAR_MIP_LINEAR == null) {
|
||||
Builder b = new Builder(rs);
|
||||
b.setMin(Value.LINEAR_MIP_LINEAR);
|
||||
b.setMag(Value.LINEAR_MIP_LINEAR);
|
||||
b.setMag(Value.LINEAR);
|
||||
b.setWrapS(Value.CLAMP);
|
||||
b.setWrapT(Value.CLAMP);
|
||||
rs.mSampler_CLAMP_LINEAR_MIP_LINEAR = b.create();
|
||||
@@ -114,7 +114,7 @@ public class Sampler extends BaseObj {
|
||||
if(rs.mSampler_WRAP_LINEAR_MIP_LINEAR == null) {
|
||||
Builder b = new Builder(rs);
|
||||
b.setMin(Value.LINEAR_MIP_LINEAR);
|
||||
b.setMag(Value.LINEAR_MIP_LINEAR);
|
||||
b.setMag(Value.LINEAR);
|
||||
b.setWrapS(Value.WRAP);
|
||||
b.setWrapT(Value.WRAP);
|
||||
rs.mSampler_WRAP_LINEAR_MIP_LINEAR = b.create();
|
||||
|
||||
Reference in New Issue
Block a user