summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-07-15 10:57:33 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-15 10:57:33 -0700
commite173b9d73bfe232303567a573ca25f2432d066d2 (patch)
tree21f8add295d6d4c74a7d2c57e4e67bc75b429194 /libs/rs/rsContext.cpp
parentc7f2cdea3c16b7303c8f897293e9816029edd1d0 (diff)
parent1bfcceaca6eb26594ab28bb68638bb480efa1879 (diff)
downloadframeworks_base-e173b9d73bfe232303567a573ca25f2432d066d2.zip
frameworks_base-e173b9d73bfe232303567a573ca25f2432d066d2.tar.gz
frameworks_base-e173b9d73bfe232303567a573ca25f2432d066d2.tar.bz2
Merge "For the serialization context, no fifo initialization is necessary."
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r--libs/rs/rsContext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index 8798612..447a7ff 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -340,10 +340,6 @@ Context::Context() {
Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) {
Context * rsc = new Context();
- // Temporary to avoid breaking the tools
- if (!dev) {
- return rsc;
- }
if (!rsc->initContext(dev, sc)) {
delete rsc;
return NULL;