libobs-opengl: Fix atan2 HLSL->GLSL transpile
This commit is contained in:
parent
6ca52db8ce
commit
2a318d915f
@ -450,7 +450,7 @@ static bool gl_write_intrinsic(struct gl_shader_parser *glsp,
|
||||
bool written = true;
|
||||
|
||||
if (strref_cmp(&token->str, "atan2") == 0) {
|
||||
dstr_cat(&glsp->gl_string, "atan2");
|
||||
dstr_cat(&glsp->gl_string, "atan");
|
||||
} else if (strref_cmp(&token->str, "ddx") == 0) {
|
||||
dstr_cat(&glsp->gl_string, "dFdx");
|
||||
} else if (strref_cmp(&token->str, "ddy") == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user