aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-11-22 17:31:18 +0100
committerdec05eba <dec05eba@protonmail.com>2023-11-22 17:31:18 +0100
commit2f60f4c109f1bcc748d5f0d937476e8708a4073b (patch)
treeabbb2f6e8502c850e02b3c424468d9588831321e /src/egl.c
parent6ace5405e4d5838a19f10cf11401df2016ce4645 (diff)
h264 vaapi quality 5
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egl.c b/src/egl.c
index e1d44e7..faae6e7 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -227,13 +227,13 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) {
const int32_t attr[] = {
EGL_BUFFER_SIZE, 24,
EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT,
- EGL_NONE, EGL_NONE
+ EGL_NONE
};
const int32_t ctxattr[] = {
EGL_CONTEXT_CLIENT_VERSION, 2,
EGL_CONTEXT_PRIORITY_LEVEL_IMG, EGL_CONTEXT_PRIORITY_HIGH_IMG, /* requires cap_sys_nice, ignored otherwise */
- EGL_NONE, EGL_NONE
+ EGL_NONE
};
if(wayland) {
@@ -249,7 +249,7 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) {
// Fetch globals
wl_display_roundtrip(self->wayland.dpy);
- // fetch wl_output
+ // Fetch wl_output
wl_display_roundtrip(self->wayland.dpy);
if(!self->wayland.compositor) {