diff options
| author | 2013-02-20 18:32:42 +0000 | |
|---|---|---|
| committer | 2013-02-20 18:33:05 +0000 | |
| commit | 14bd8359a84c9b3f634d1fd816ddf5750d6539a9 (patch) | |
| tree | 7576741a0e9c218804e26cb8fd2fe38d8b8e92c8 | |
| parent | 1a0939cd130ed9df2982563a7dd0ea2d521d04ee (diff) | |
| parent | c8d983f7259b4e328abc10c27c3c2cec61ad0722 (diff) | |
Merge "Wallpaper software rendering fallback Bug #8230579"
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/ImageWallpaper.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java index 79f965049eae..8d949a5d33d1 100644 --- a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java +++ b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java @@ -485,14 +485,12 @@ public class ImageWallpaper extends WallpaperService { glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); - if (!mEgl.eglSwapBuffers(mEglDisplay, mEglSurface)) { - throw new RuntimeException("Cannot swap buffers"); - } + boolean status = mEgl.eglSwapBuffers(mEglDisplay, mEglSurface); checkEglError(); finishGL(); - return true; + return status; } private FloatBuffer createMesh(int left, int top, float right, float bottom) { |