st/egl: swapping without a buffer is not an error

This fixes Kwaak3.
This commit is contained in:
Chia-I Wu 2011-07-20 18:20:20 +08:00
parent 8ccafbbbcc
commit 62c7c2fca4
1 changed files with 1 additions and 1 deletions

View File

@ -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);