diff options
author | Mathias Agopian <mathias@google.com> | 2009-10-28 21:00:29 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-10-29 16:45:41 -0700 |
commit | f007a2faa1d765e9b53553a8214179b253e3cbbd (patch) | |
tree | 7928e89551e22c634ab697673072128e2a2444ff /libs/surfaceflinger | |
parent | ec1f1e3df1ca5e73e262df479bf91a92f3ccafde (diff) | |
download | frameworks_base-f007a2faa1d765e9b53553a8214179b253e3cbbd.zip frameworks_base-f007a2faa1d765e9b53553a8214179b253e3cbbd.tar.gz frameworks_base-f007a2faa1d765e9b53553a8214179b253e3cbbd.tar.bz2 |
return proper error code from eglCreateImageKHR
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index 6590503..f70bcf4 100644 --- a/libs/surfaceflinger/LayerBuffer.cpp +++ b/libs/surfaceflinger/LayerBuffer.cpp @@ -437,9 +437,7 @@ void LayerBuffer::BufferSource::onDraw(const Region& clip) const } if (err != NO_ERROR) { - // OpenGL fall-back - GLuint w = 0; - GLuint h = 0; + // slower fallback GGLSurface t; t.version = sizeof(GGLSurface); t.width = src.crop.r; |