diff options
Diffstat (limited to 'gralloc960/gralloc_vsync_default.cpp')
-rw-r--r-- | gralloc960/gralloc_vsync_default.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc960/gralloc_vsync_default.cpp b/gralloc960/gralloc_vsync_default.cpp index 40f66999..3ce7f0e8 100644 --- a/gralloc960/gralloc_vsync_default.cpp +++ b/gralloc960/gralloc_vsync_default.cpp @@ -49,7 +49,7 @@ int gralloc_wait_for_vsync(framebuffer_device_t *dev) { int crtc = 0; gralloc_mali_vsync_report(MALI_VSYNC_EVENT_BEGIN_WAIT); - if(ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) + if(ioctl(m->framebuffer->shallow_fbdev_fd, FBIO_WAITFORVSYNC, &crtc) < 0) { gralloc_mali_vsync_report(MALI_VSYNC_EVENT_END_WAIT); return -errno; |