diff options
Diffstat (limited to 'modules/gralloc/framebuffer.cpp')
-rw-r--r-- | modules/gralloc/framebuffer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp index 0195103..a487b5d 100644 --- a/modules/gralloc/framebuffer.cpp +++ b/modules/gralloc/framebuffer.cpp @@ -43,7 +43,12 @@ /*****************************************************************************/ // numbers of buffers for page flipping +#if defined(NO_PAGE_FLIPPING) +// page-flipping is buggy on some devices +#define NUM_BUFFERS 1 +#else #define NUM_BUFFERS 2 +#endif enum { |