commit | f007a2faa1d765e9b53553a8214179b253e3cbbd | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Oct 28 21:00:29 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Thu Oct 29 16:45:41 2009 -0700 |
tree | 7928e89551e22c634ab697673072128e2a2444ff | |
parent | ec1f1e3df1ca5e73e262df479bf91a92f3ccafde [diff] [blame] |
return proper error code from eglCreateImageKHR
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 @@ } 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;