Przeglądaj źródła

gen_rust.py: update sg_apply_uniforms parameter type mapping

Andre Weissflog 9 miesięcy temu
rodzic
commit
0f058c8821
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bindgen/gen_rust.py

+ 1 - 1
bindgen/gen_rust.py

@@ -58,7 +58,7 @@ overrides = {
     "type": "_type",
     "ref": "_ref",
 
-    "sg_apply_uniforms.ub_index": "uintptr_t",
+    "sg_apply_uniforms.ub_slot": "uintptr_t",
     "sg_draw.base_element": "uintptr_t",
     "sg_draw.num_elements": "uintptr_t",
     "sg_draw.num_instances": "uintptr_t",