mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-03 12:55:20 -04:00
libobs-opengl: Fix atan2 HLSL->GLSL transpile
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user