commit | df2d92940550bc68c3c237937bce7ac16d9fa91b | [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 | a21e5e8b9975cc71a6451739c5cc0e3a025e2c43 | |
parent | b0d0de329d73a70e8825ab9a7069b4c56645dc48 [diff] |
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;