#7

not enough arguments in call to nk.NkWindowSetBounds

Openflintforgeopened 8y ago
go build
# github.com/xlab/libvpx-go/cmd/webm-player
./view.go:110:27: not enough arguments in call to nk.NkWindowSetBounds
	have (*nk.Context, nk.Rect)
	want (*nk.Context, string, nk.Rect)

Signature of a previous version of NkWindowSetBounds perhaps ?

however

view.go:110
-nk.NkWindowSetBounds(v.ctx, bounds)
+nk.NkWindowSetBounds(v.ctx,windowName, bounds)

results in webm-player: /src/github.com/golang-ui/nuklear/nk/nuklear.h:19008: nk_window_set_bounds: Assertion `ctx->current != win && "You cannot update a currently in procecss window"' failed.

Activity

1
rizrmd8y ago

erm... me too >.<