Fix compile

This commit is contained in:
luboslenco
2024-04-15 21:28:01 +02:00
parent 28b3f4caee
commit b48c5aff50
26 changed files with 121 additions and 118 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
let make_mesh_layer_pass_count: i32 = 1;
function make_mesh_run(data: material_t, layer_pass: i32 = 0): NodeShaderContextRaw {
function make_mesh_run(data: material_t, layer_pass: i32 = 0): node_shader_context_t {
let con_mesh = node_shader_context_create(data, {
name: "mesh",
depth_write: layer_pass == 0 ? true : false,