diff options
| author | Jason Sams <rjsams@android.com> | 2011-03-18 17:08:54 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2011-03-18 17:08:54 -0700 |
| commit | 80e29cf5c45e378bd28a1b061bb70d8ce02846ae (patch) | |
| tree | 2acad3f462f0cbd70197607f7382b7f506ab316a /libs/rs/rsContext.cpp | |
| parent | 233c43c331e090ab8c15daccd5dcb9ce577996fb (diff) | |
| download | frameworks_base-80e29cf5c45e378bd28a1b061bb70d8ce02846ae.zip frameworks_base-80e29cf5c45e378bd28a1b061bb70d8ce02846ae.tar.gz frameworks_base-80e29cf5c45e378bd28a1b061bb70d8ce02846ae.tar.bz2 | |
Fix bug with hal init uninitialized var.
Change-Id: I172bb65b57653e32697f2c2df941beb0aaf65603
Diffstat (limited to 'libs/rs/rsContext.cpp')
| -rw-r--r-- | libs/rs/rsContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 339a773..c761c75 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -636,6 +636,7 @@ bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { timerSet(RS_TIMER_INTERNAL); if (!rsdHalInit(this, 0, 0)) { + LOGE("Hal init failed"); return false; } mHal.funcs.setPriority(this, mThreadPriority); @@ -650,6 +651,7 @@ bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { } if (mError != RS_ERROR_NONE) { + LOGE("Errors during thread init"); return false; } |
