diff options
| author | 2009-10-28 21:00:29 -0700 | |
|---|---|---|
| committer | 2009-10-29 16:45:41 -0700 | |
| commit | df2d92940550bc68c3c237937bce7ac16d9fa91b (patch) | |
| tree | a21e5e8b9975cc71a6451739c5cc0e3a025e2c43 /libs/surfaceflinger/LayerBuffer.cpp | |
| parent | b0d0de329d73a70e8825ab9a7069b4c56645dc48 (diff) | |
return proper error code from eglCreateImageKHR
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
| -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 6590503d31..f70bcf4c98 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; |