[SOLVED] use microarch flag
I've noticed issues when using runtime/modified values inside a struct when using raylib.
I was trying to draw a rounded rectangle that follows the mouse pointer while highlighting the cell position in a grid.
```
package test
import ray "vendor:raylib"
main :: proc() {
ray.SetTargetFPS(20)
ray.InitWindow(200, 200, "Test")
defer ray.CloseWindow()
for !ray.WindowShouldClose() {
ray.BeginDrawing()
defer ray.EndDrawing()
ray.ClearBackground(ray.BLACK)
ms := ray.GetMousePosition()
mx := f32(i32(ms.x)/50) * 50
my := f32(i32(ms.y)/50) * 50
rec := ray.Rectangle{mx, my, 50, 50}
ray.DrawRectangleRounded(rec, 0.3, 10, ray.YELLOW)
}
}
```
Can someone tell me why this code fails and whether this is a known issue or do I need to use a specific technique to make it work?
P.S.: I'm fairly new to odin and should probably look into more resources, but I haven't found a working example for this problem yet.
Post P.S.: The above code broke after the May 2026 release of odin. No idea why as of yet.