summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2012-04-03 15:53:39 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-03 15:53:39 -0700
commit256b154f6ad8a353176d3cf87fc989e35fc4659a (patch)
tree50cd161bc7838fb671e35f36d37d2a1d33fde768 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent21aec19d3041fe040004dd32eef0cfd1bafd6fb6 (diff)
parente07694b24f7d12d72b084b6651356681ebd0efd6 (diff)
Merge "Validate context when using RS objects."
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
-rw-r--r--graphics/java/android/renderscript/ProgramVertexFixedFunction.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/java/android/renderscript/ProgramVertexFixedFunction.java b/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
index 9a43943da360..fac4c3dd2f1d 100644
--- a/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
+++ b/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
@@ -75,15 +75,15 @@ public class ProgramVertexFixedFunction extends ProgramVertex {
for (int i=0; i < mInputCount; i++) {
tmp[idx++] = ProgramParam.INPUT.mID;
- tmp[idx++] = mInputs[i].getID();
+ tmp[idx++] = mInputs[i].getID(mRS);
}
for (int i=0; i < mOutputCount; i++) {
tmp[idx++] = ProgramParam.OUTPUT.mID;
- tmp[idx++] = mOutputs[i].getID();
+ tmp[idx++] = mOutputs[i].getID(mRS);
}
for (int i=0; i < mConstantCount; i++) {
tmp[idx++] = ProgramParam.CONSTANT.mID;
- tmp[idx++] = mConstants[i].getID();
+ tmp[idx++] = mConstants[i].getID(mRS);
}
for (int i=0; i < mTextureCount; i++) {
tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID;