Fix compile

This commit is contained in:
luboslenco
2025-08-04 19:42:18 +02:00
parent 5b7f693418
commit 7b2e37cfff
+2 -1
View File
@@ -264,7 +264,8 @@ function shader_context_parse_data(data: string): vertex_data_t {
}
function shader_context_parse_vertex_struct(raw: shader_context_t) {
raw._.structure = {};
let structure: gpu_vertex_structure_t = {};
raw._.structure = structure;
for (let i: i32 = 0; i < raw.vertex_elements.length; ++i) {
let elem: vertex_element_t = raw.vertex_elements[i];