diff options
| author | Alex Sakhartchouk <alexst@google.com> | 2011-10-18 10:54:29 -0700 |
|---|---|---|
| committer | Alex Sakhartchouk <alexst@google.com> | 2011-10-18 10:54:29 -0700 |
| commit | 064aa7ed76db9564b041afcd4b75da5b3d12faba (patch) | |
| tree | 1219cee07a9d9b1cf371198a52235bde78a9a022 /rsProgramVertex.cpp | |
| parent | 407f8ca5a1cd2269dba356f40ab32a5ff934a6a2 (diff) | |
| download | android_frameworks_rs-064aa7ed76db9564b041afcd4b75da5b3d12faba.tar.gz android_frameworks_rs-064aa7ed76db9564b041afcd4b75da5b3d12faba.tar.bz2 android_frameworks_rs-064aa7ed76db9564b041afcd4b75da5b3d12faba.zip | |
Remove ObjBaseRef from the hal struct
Change-Id: Idcac14ecfdd4d06a0f54bf50e3b9657be62e6638
Diffstat (limited to 'rsProgramVertex.cpp')
| -rw-r--r-- | rsProgramVertex.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rsProgramVertex.cpp b/rsProgramVertex.cpp index 51cb2a8a..4a136225 100644 --- a/rsProgramVertex.cpp +++ b/rsProgramVertex.cpp @@ -38,7 +38,7 @@ void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { } if (!isUserProgram()) { - if (mHal.state.constants[0].get() == NULL) { + if (mHal.state.constants[0] == NULL) { rsc->setError(RS_ERROR_FATAL_UNKNOWN, "Unable to set fixed function emulation matrices because allocation is missing"); return; @@ -65,7 +65,7 @@ void ProgramVertex::setProjectionMatrix(Context *rsc, const rsc_Matrix *m) const "Attempting to set fixed function emulation matrix projection on user program"); return; } - if (mHal.state.constants[0].get() == NULL) { + if (mHal.state.constants[0] == NULL) { rsc->setError(RS_ERROR_FATAL_UNKNOWN, "Unable to set fixed function emulation matrix projection because allocation is missing"); return; @@ -81,7 +81,7 @@ void ProgramVertex::setModelviewMatrix(Context *rsc, const rsc_Matrix *m) const "Attempting to set fixed function emulation matrix modelview on user program"); return; } - if (mHal.state.constants[0].get() == NULL) { + if (mHal.state.constants[0] == NULL) { rsc->setError(RS_ERROR_FATAL_UNKNOWN, "Unable to set fixed function emulation matrix modelview because allocation is missing"); return; @@ -97,7 +97,7 @@ void ProgramVertex::setTextureMatrix(Context *rsc, const rsc_Matrix *m) const { "Attempting to set fixed function emulation matrix texture on user program"); return; } - if (mHal.state.constants[0].get() == NULL) { + if (mHal.state.constants[0] == NULL) { rsc->setError(RS_ERROR_FATAL_UNKNOWN, "Unable to set fixed function emulation matrix texture because allocation is missing"); return; @@ -113,7 +113,7 @@ void ProgramVertex::getProjectionMatrix(Context *rsc, rsc_Matrix *m) const { "Attempting to get fixed function emulation matrix projection on user program"); return; } - if (mHal.state.constants[0].get() == NULL) { + if (mHal.state.constants[0] == NULL) { rsc->setError(RS_ERROR_FATAL_UNKNOWN, "Unable to get fixed function emulation matrix projection because allocation is missing"); return; |
