synchronizing
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 21 Sep 2021 04:18:04 +0000 (23:18 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Tue, 21 Sep 2021 04:18:04 +0000 (23:18 -0500)
src/app/app.onyx
src/features/wasm/wasm.onyx

index 928e8aad4924dc98282178022d41cbfcdfc6f38e..2434d89b9a7fc6807ab1994b4840a0cc10315d3f 100644 (file)
@@ -434,7 +434,7 @@ open_tool_opener :: macro () {
 #private_file {
     background_tile_texture : gfx.Texture;
 
-    draw_background_lines :: (width: f32, height: f32, line_color := gfx.Color4.{0.2, 0.2, 0.2}, line_spacing := 32.0f) {
+    draw_background_lines :: (width, height: f32, line_color := gfx.Color4.{0.2, 0.2, 0.2}, line_spacing := 32.0f) {
         gl :: package gl
 
         gfx.save_matrix();
index 3e048bab260d5f8ec7f750d33ff53ade5bbb05ad..5f1657a1bbe003f50b9175d02bd547f2213bf3d7 100644 (file)
@@ -7,6 +7,13 @@ package feature.wasm
 
     use package core
     use package debug { debug_log }
+
+    use package wasm_utils
+}
+
+#private {
+    wasm_state    : WasmBinary;
+    wasm_sections : WasmSections;
 }
 
 setup :: () {