golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.

Home Page:https://github.com/vurtun/nuklear

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

NameIsKallie opened this issue · comments

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

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.