From: Chia-I Wu Date: Wed, 20 Jul 2011 10:20:20 +0000 (+0800) Subject: st/egl: swapping without a buffer is not an error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62c7c2fca423020dc634cad838f53751b9835654;p=mesa.git st/egl: swapping without a buffer is not an error This fixes Kwaak3. --- 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);