diff options
author | Alex Sakhartchouk <alexst@google.com> | 2012-01-10 14:30:34 -0800 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2012-01-10 14:30:34 -0800 |
commit | 8e6bde735d3c0024c36beff668e1588803657357 (patch) | |
tree | 78dfb6b58b977b01943c5f60232d5a9f35dd93ab /rsScriptC_LibGL.cpp | |
parent | a720a144508edd91e4790b23eadd6cd270368df9 (diff) | |
download | rs-8e6bde735d3c0024c36beff668e1588803657357.tar.gz |
Now utilizing ability to bind constants.
Fixing small copy/paste typo.
Change-Id: I8ca993f3e894214b710bea019dfd65822a4cd88f
Diffstat (limited to 'rsScriptC_LibGL.cpp')
-rw-r--r-- | rsScriptC_LibGL.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rsScriptC_LibGL.cpp b/rsScriptC_LibGL.cpp index 611a6a7b..643cd8e2 100644 --- a/rsScriptC_LibGL.cpp +++ b/rsScriptC_LibGL.cpp @@ -56,10 +56,10 @@ void rsrBindConstant(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slo 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) { |