golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.
https://github.com/vurtun/nuklear
MIT License
1.57k stars 98 forks source link

can't assign int32 to state.width and state.height in impl_sdl2_common.go #33

Open NameIsKallie opened 6 years ago

NameIsKallie commented 6 years ago

state.width and state.height are declared as ints, and are being assigned with a win.GetSize which return int32s

xlab commented 6 years ago

Hi @FallenM00N, thanks for the report. Looks like an issue for @strangebroadcasts he's supporting SDL backend.

However, if you provide a patch, that'd be great, we'll merge.