Remove unused fields in ProgramRaster

Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
This commit is contained in:
Jason Sams
2011-09-23 14:18:53 -07:00
parent e94d950d12
commit 94aaed3846
6 changed files with 13 additions and 52 deletions

View File

@@ -84,14 +84,10 @@ public class ProgramRaster extends BaseObj {
public static class Builder {
RenderScript mRS;
boolean mPointSprite;
boolean mPointSmooth;
boolean mLineSmooth;
CullMode mCullMode;
public Builder(RenderScript rs) {
mRS = rs;
mPointSmooth = false;
mLineSmooth = false;
mPointSprite = false;
mCullMode = CullMode.BACK;
}
@@ -108,8 +104,7 @@ public class ProgramRaster extends BaseObj {
public ProgramRaster create() {
mRS.validate();
int id = mRS.nProgramRasterCreate(mPointSmooth, mLineSmooth, mPointSprite,
1.f, mCullMode.mID);
int id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID);
return new ProgramRaster(id, mRS);
}
}