Fix T68843: wireframe node in Eevee fails on macOS

Differential Revision: https://developer.blender.org/D5712
This commit is contained in:
Jean First 2019-09-07 00:00:48 +02:00 committed by Brecht Van Lommel
parent 87d0033ea9
commit d288776cef
Notes: blender-bot 2023-02-14 03:03:03 +01:00
Referenced by issue #68843, Invalid (pink) shader when using wireframe node [ Eevee ]
1 changed files with 1 additions and 1 deletions

View File

@ -1307,7 +1307,7 @@ static char *code_generate_geometry(ListBase *nodes, const char *geom_code, cons
BLI_dynstr_append(ds, "\tgl_Position = gl_in[2].gl_Position;\n");
BLI_dynstr_append(ds, "\tpass_attr(2);\n");
BLI_dynstr_append(ds, "\tEmitVertex();\n");
BLI_dynstr_append(ds, "};\n");
BLI_dynstr_append(ds, "}\n");
}
}
else {