diff options
| author | 2009-05-20 11:28:04 -0700 | |
|---|---|---|
| committer | 2009-05-20 11:28:04 -0700 | |
| commit | 9660d304ae51a69509e5506e1fc80178025dee7c (patch) | |
| tree | 2db88e9f1a42bf5dfbbe01580a6e8071666179e9 /libs/surfaceflinger/Layer.cpp | |
| parent | 490b2ba510c0857605f4913f0fdd1c47a1d93647 (diff) | |
donut snapshot
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
| -rw-r--r-- | libs/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index f65d66984d..96395a883c 100644 --- a/libs/surfaceflinger/Layer.cpp +++ b/libs/surfaceflinger/Layer.cpp @@ -108,7 +108,7 @@ status_t Layer::setBuffers( Client* client, // we always force a 4-byte aligned bpr. uint32_t alignment = 1; - if (flags & ISurfaceComposer::eGPU) { + if ((flags & ISurfaceComposer::eGPU) && (mFlinger->getGPU() != 0)) { // FIXME: this value should come from the h/w alignment = 8; // FIXME: this is msm7201A specific, as its GPU only supports |