Adding support for all allowed textures.
Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
This commit is contained in:
@@ -55,7 +55,7 @@ public class ProgramFragment extends Program {
|
||||
tmp[idx++] = 3;
|
||||
tmp[idx++] = mTextureCount;
|
||||
|
||||
int id = mRS.nProgramFragmentCreate2(mShader, tmp);
|
||||
int id = mRS.nProgramFragmentCreate(mShader, tmp);
|
||||
ProgramFragment pf = new ProgramFragment(id, mRS);
|
||||
initProgram(pf);
|
||||
return pf;
|
||||
@@ -199,6 +199,7 @@ public class ProgramFragment extends Program {
|
||||
mNumTextures ++;
|
||||
}
|
||||
}
|
||||
resetConstant();
|
||||
buildShaderString();
|
||||
Type constType = null;
|
||||
if (!mVaryingColorEnable) {
|
||||
|
||||
Reference in New Issue
Block a user