From 56e2a82474495ae2e4dbbca5ae186c012988d428 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 30 Mar 2025 22:11:33 +0200 Subject: Fix cursor rotated background in compute shader on wayland --- src/encoder/video/vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoder/video/vulkan.c') diff --git a/src/encoder/video/vulkan.c b/src/encoder/video/vulkan.c index 062967b..7210870 100644 --- a/src/encoder/video/vulkan.c +++ b/src/encoder/video/vulkan.c @@ -94,7 +94,7 @@ static bool gsr_video_encoder_vulkan_setup_textures(gsr_video_encoder_vulkan *se //AVVkFrame *target_surface_id = (AVVkFrame*)frame->data[0]; self->vv = video_codec_context_get_vulkan_data(video_codec_context); - const unsigned int internal_formats_nv12[2] = { GL_RGBA8, GL_RGBA8 }; + const unsigned int internal_formats_nv12[2] = { GL_RGBA8, GL_RGBA8 }; // TODO: GL_R8, GL_R16 const unsigned int internal_formats_p010[2] = { GL_R16, GL_RG16 }; const unsigned int formats[2] = { GL_RED, GL_RG }; const int div[2] = {1, 2}; // divide UV texture size by 2 because chroma is half size -- cgit v1.2.3-70-g09d2