Now utilizing ability to bind constants.
Fixing small copy/paste typo.
Change-Id: I8ca993f3e894214b710bea019dfd65822a4cd88f
diff --git a/rsScriptC_LibGL.cpp b/rsScriptC_LibGL.cpp
index 611a6a7..643cd8e 100644
--- a/rsScriptC_LibGL.cpp
+++ b/rsScriptC_LibGL.cpp
@@ -56,10 +56,10 @@
pf->bindAllocation(rsc, a, slot);
}
-void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pf, uint32_t slot, Allocation *a) {
+void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) {
CHECK_OBJ_OR_NULL(a);
- CHECK_OBJ(pf);
- pf->bindAllocation(rsc, a, slot);
+ CHECK_OBJ(pv);
+ pv->bindAllocation(rsc, a, slot);
}
void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) {