summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-07-20 18:20:20 +0800
committerChia-I Wu <[email protected]>2011-08-21 02:01:49 +0800
commit62c7c2fca423020dc634cad838f53751b9835654 (patch)
treec14194810e44d1e4aef55d58889d680b931c6af9
parent8ccafbbbcc797dc15daed883b09250165ab980b3 (diff)
st/egl: swapping without a buffer is not an error
This fixes Kwaak3.
-rw-r--r--src/gallium/state_trackers/egl/android/native_android.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/android/native_android.cpp b/src/gallium/state_trackers/egl/android/native_android.cpp
index a6e0d254ef2..ccb71efa030 100644
--- a/src/gallium/state_trackers/egl/android/native_android.cpp
+++ b/src/gallium/state_trackers/egl/android/native_android.cpp
@@ -296,7 +296,7 @@ android_surface_swap_buffers(struct native_surface *nsurf)
struct android_display *adpy = asurf->adpy;
if (!asurf->buf)
- return FALSE;
+ return TRUE;
android_surface_enqueue_buffer(&asurf->base);