aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-13 10:21:07 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-13 10:21:07 +0100
commit4d3e95d7b5298d6057ec0203a41e4301c345fb99 (patch)
treeeadd571f63cdd5d045b86c08c36586499c918b80
parent1ff38c269925ab10fc4635d911e8cca1e1d7abbb (diff)
nvidia x11: fix black screen regressionHEADmaster
-rw-r--r--TODO4
-rw-r--r--src/color_conversion.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/TODO b/TODO
index 2abd451..671eed1 100644
--- a/TODO
+++ b/TODO
@@ -188,4 +188,6 @@ Support application audio recording without pulseaudio combined sink.
Support transposing (rotating) with vaapi. This isn't supported on many devices with rgb buffer, but its supported with nv12 buffer (on intel at least).
-Cleanup pipewire_audio.c (proper error handling and memory cleanup of proxies). \ No newline at end of file
+Cleanup pipewire_audio.c (proper error handling and memory cleanup of proxies).
+
+Hide application audio module-null-sink by using sink_properties=media.class="Audio/Sink/Internal". \ No newline at end of file
diff --git a/src/color_conversion.c b/src/color_conversion.c
index f3748b4..65f3775 100644
--- a/src/color_conversion.c
+++ b/src/color_conversion.c
@@ -327,7 +327,7 @@ void gsr_color_conversion_deinit(gsr_color_conversion *self) {
static void gsr_color_conversion_swizzle_texture_source(gsr_color_conversion *self, gsr_source_color source_color) {
if(source_color == GSR_SOURCE_COLOR_BGR) {
- const int swizzle_mask[] = { GL_BLUE, GL_GREEN, GL_RED, GL_ALPHA };
+ const int swizzle_mask[] = { GL_BLUE, GL_GREEN, GL_RED, 1 };
self->params.egl->glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_RGBA, swizzle_mask);
}
}