diff --git a/examples/gui/button/go.mod b/examples/gui/button/go.mod index f8e917a..7ce5cb7 100644 --- a/examples/gui/button/go.mod +++ b/examples/gui/button/go.mod @@ -3,9 +3,6 @@ module example go 1.19 require ( - github.com/gen2brain/raylib-go/raygui v0.0.0-20221122151443-e8a384ed1346 - github.com/gen2brain/raylib-go/raylib v0.0.0-20221122155035-fe6d2c0ed32a + github.com/gen2brain/raylib-go/raygui v0.0.0-20221117130019-ce3c8e83dd6d + github.com/gen2brain/raylib-go/raylib v0.0.0-20221117130019-ce3c8e83dd6d ) - -replace github.com/gen2brain/raylib-go/raylib => ../../../raylib -replace github.com/gen2brain/raylib-go/raygui => ../../../raygui3_5 diff --git a/raygui3_5/raygui.go b/raygui3_5/raygui.go index c619b98..5138ed9 100644 --- a/raygui3_5/raygui.go +++ b/raygui3_5/raygui.go @@ -1099,7 +1099,6 @@ func IconText(iconId int32, text string) string { // Text Input Box control, ask for text func TextInputBox(bounds rl.Rectangle, title, message, buttons string, text *string, textMaxSize int32, secretViewActive *int32) int32 { - var cbounds C.struct_Rectangle cbounds.x = C.float(bounds.X) cbounds.y = C.float(bounds.Y)