From 62c7c2fca423020dc634cad838f53751b9835654 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 20 Jul 2011 18:20:20 +0800 Subject: st/egl: swapping without a buffer is not an error This fixes Kwaak3. --- src/gallium/state_trackers/egl/android/native_android.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3