mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 06:06:00 +01:00
parent
8d73016db8
commit
2efe4296f8
1 changed files with 1 additions and 1 deletions
|
@ -746,7 +746,7 @@ static void handlePF(int fd, unsigned seq, unsigned tv_sec, unsigned tv_usec, un
|
||||||
|
|
||||||
uint32_t flags = IOutput::AQ_OUTPUT_PRESENT_VSYNC | IOutput::AQ_OUTPUT_PRESENT_HW_CLOCK | IOutput::AQ_OUTPUT_PRESENT_HW_COMPLETION | IOutput::AQ_OUTPUT_PRESENT_ZEROCOPY;
|
uint32_t flags = IOutput::AQ_OUTPUT_PRESENT_VSYNC | IOutput::AQ_OUTPUT_PRESENT_HW_CLOCK | IOutput::AQ_OUTPUT_PRESENT_HW_COMPLETION | IOutput::AQ_OUTPUT_PRESENT_ZEROCOPY;
|
||||||
|
|
||||||
timespec presented = {.tv_sec = tv_sec, .tv_nsec = tv_usec * 1000};
|
timespec presented = {.tv_sec = (time_t)tv_sec, .tv_nsec = (long)(tv_usec * 1000)};
|
||||||
|
|
||||||
pageFlip->connector->output->events.present.emit(IOutput::SPresentEvent{
|
pageFlip->connector->output->events.present.emit(IOutput::SPresentEvent{
|
||||||
.presented = BACKEND->sessionActive(),
|
.presented = BACKEND->sessionActive(),
|
||||||
|
|
Loading…
Reference in a new issue