glamor: Fix up block/wakeup handler.

Prototypes are fixed, and we don't need to flush on wakeup.
This commit is contained in:
Eric Anholt 2009-08-20 11:37:37 -07:00 committed by Zhigang Gong
parent 2e35ceca65
commit 399e006989

View File

@ -75,15 +75,14 @@ glamor_destroy_pixmap(PixmapPtr pixmap)
} }
static void static void
glamor_block_handler(void *data, OSTimePtr wt, void *last_select_mask) glamor_block_handler(void *data, OSTimePtr timeout, void *last_select_mask)
{ {
glFlush(); glFlush();
} }
static void static void
glamor_wakeup_handler(void *data, OSTimePtr wt, void *last_select_mask) glamor_wakeup_handler(void *data, int result, void *last_select_mask)
{ {
glFlush();
} }
/** Set up glamor for an already-configured GL context. */ /** Set up glamor for an already-configured GL context. */