aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-18 00:11:23 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-18 11:15:10 +0200
commit41bd6cee631a16076435984891f2134443ecec31 (patch)
tree18e89b80a663a6b7980bb7f6f7fe453d5aa75684 /include
parent702c681a9566a0b49e66168f91ceac97e44cef97 (diff)
Use async_depth option on vaapi for much better encoding performance
Diffstat (limited to 'include')
-rw-r--r--include/damage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/damage.h b/include/damage.h
index 2bf43d7..7229418 100644
--- a/include/damage.h
+++ b/include/damage.h
@@ -1,6 +1,7 @@
#ifndef GSR_DAMAGE_H
#define GSR_DAMAGE_H
+#include "cursor.h"
#include "utils.h"
#include <stdbool.h>
#include <stdint.h>
@@ -31,7 +32,7 @@ typedef struct {
//vec2i window_pos;
vec2i window_size;
- vec2i cursor_position; /* Relative to |window| */
+ gsr_cursor cursor; /* Relative to |window| */
gsr_monitor monitor;
char monitor_name[32];
} gsr_damage;