diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-03-21 15:11:13 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-21 15:11:13 +0100 |
commit | b19f88d769958af067c86f6b98b7d579a10acc29 (patch) | |
tree | 7eecff5e88317afd484b0affaeb800a7e97925ba /src/shader.c | |
parent | c2af57a978b29e536260b6bf8440827a4d8e01f7 (diff) |
Fix missing color range set in color conversion for nvidia window capture
Diffstat (limited to 'src/shader.c')
-rw-r--r-- | src/shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader.c b/src/shader.c index 2e24e07..dcb956b 100644 --- a/src/shader.c +++ b/src/shader.c @@ -26,7 +26,7 @@ static unsigned int loader_shader(gsr_egl *egl, unsigned int type, const char *s if(info_length > 1) { char info_log[4096]; egl->glGetShaderInfoLog(shader_id, min_int(4096, info_length), NULL, info_log); - fprintf(stderr, "gsr error: loader shader: failed to compile shader, error:\n%s\n", info_log); + fprintf(stderr, "gsr error: loader shader: failed to compile shader, error:\n%s\nshader source:\n%s\n", info_log, source); } egl->glDeleteShader(shader_id); |