libvpx-go icon indicating copy to clipboard operation
libvpx-go copied to clipboard

not enough arguments in call to nk.NkWindowSetBounds

Open flintforge opened this issue 7 years ago • 1 comments

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.

flintforge avatar Jul 19 '18 19:07 flintforge

erm... me too >.<

rizrmd avatar Aug 31 '18 09:08 rizrmd