commit | 4d3b5c1e36f2a3746a1c87f8af97d4fe97e8f49e | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Queru <jbq@google.com> | Tue Jul 21 11:16:54 2009 -0700 |
committer | Jean-Baptiste Queru <jbq@google.com> | Tue Jul 21 11:16:54 2009 -0700 |
tree | 253e04766c56308bdea922e22a75acafa43b666f | |
parent | 512837cef2b7203123d0b8df7ad49454ce932a75 [diff] [blame] |
donut snapshot
diff --git a/opengl/libs/EGL/gpu.cpp b/opengl/libs/EGL/gpu.cpp index f9dc5f1..4c902c8 100644 --- a/opengl/libs/EGL/gpu.cpp +++ b/opengl/libs/EGL/gpu.cpp
@@ -118,6 +118,11 @@ return 0; } + if (info.regs == 0) { + LOGD("requestGPU() failed"); + return 0; + } + bool failed = false; request_gpu_t* gpu = &gRegions; memset(gpu, 0, sizeof(*gpu));