Fix missing color range set in color conversion for nvidia window capture

This commit is contained in:
dec05eba
2024-03-21 15:11:13 +01:00
parent c2af57a978
commit b19f88d769
5 changed files with 3 additions and 16 deletions

View File

@@ -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);