From 80e29cf5c45e378bd28a1b061bb70d8ce02846ae Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Fri, 18 Mar 2011 17:08:54 -0700 Subject: Fix bug with hal init uninitialized var. Change-Id: I172bb65b57653e32697f2c2df941beb0aaf65603 --- libs/rs/rsContext.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/rs/rsContext.cpp') diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 339a7737d6ca..c761c75e16b7 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; } -- cgit v1.2.3-59-g8ed1b