mirror of https://github.com/encounter/SDL.git
Don't use "round", so that it's doesn't show up while searching for the function
This commit is contained in:
parent
6fb50bd0a6
commit
cb9f85e8d0
|
@ -190,7 +190,7 @@ typedef struct
|
||||||
|
|
||||||
|
|
||||||
// Wireless firmware quirk: the firmware intentionally signals "failure" when performing
|
// Wireless firmware quirk: the firmware intentionally signals "failure" when performing
|
||||||
// SET_FEATURE / GET_FEATURE when it actually means "pending radio round-trip". The only
|
// SET_FEATURE / GET_FEATURE when it actually means "pending radio roundtrip". The only
|
||||||
// way to make SET_FEATURE / GET_FEATURE work is to loop several times with a sleep. If
|
// way to make SET_FEATURE / GET_FEATURE work is to loop several times with a sleep. If
|
||||||
// it takes more than 50ms to get the response for SET_FEATURE / GET_FEATURE, we assume
|
// it takes more than 50ms to get the response for SET_FEATURE / GET_FEATURE, we assume
|
||||||
// that the controller has failed.
|
// that the controller has failed.
|
||||||
|
|
|
@ -220,7 +220,7 @@ Wayland_SendWakeupEvent(_THIS, SDL_Window *window)
|
||||||
{
|
{
|
||||||
SDL_VideoData *d = _this->driverdata;
|
SDL_VideoData *d = _this->driverdata;
|
||||||
|
|
||||||
/* TODO: Maybe use a pipe to avoid the compositor round trip? */
|
/* TODO: Maybe use a pipe to avoid the compositor roundtrip? */
|
||||||
wl_display_sync(d->display);
|
wl_display_sync(d->display);
|
||||||
WAYLAND_wl_display_flush(d->display);
|
WAYLAND_wl_display_flush(d->display);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue