mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 09:00:16 +01:00
glamor: Fix up block/wakeup handler.
Prototypes are fixed, and we don't need to flush on wakeup.
This commit is contained in:
parent
2e35ceca65
commit
399e006989
1 changed files with 2 additions and 3 deletions
|
|
@ -75,15 +75,14 @@ glamor_destroy_pixmap(PixmapPtr pixmap)
|
|||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue