File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11package cimgui
22
3- // #cgo amd64,linux LDFLAGS: ${SRCDIR}/lib/linux/x64/libglfw3.a
3+ // #cgo amd64,linux LDFLAGS: ${SRCDIR}/lib/linux/x64/libglfw3.a -ldl -lGL -lX11
44// #cgo amd64,windows LDFLAGS: -L${SRCDIR}/lib/windows/x64 -l:libglfw3.a -lgdi32 -lopengl32 -limm32
55// #cgo darwin LDFLAGS: -framework Cocoa -framework IOKit -framework CoreVideo
66// #cgo amd64,darwin LDFLAGS: ${SRCDIR}/lib/macos/x64/libglfw3.a
Original file line number Diff line number Diff line change @@ -46,16 +46,16 @@ func (vec *ImVec2) wrap() (out *C.ImVec2, finisher func()) {
4646type ImVec4 struct {
4747 X float32
4848 Y float32
49- W float32
5049 Z float32
50+ W float32
5151}
5252
5353func NewImVec4 (r , g , b , a float32 ) ImVec4 {
5454 return ImVec4 {
5555 X : r ,
5656 Y : g ,
57- W : b ,
58- Z : a ,
57+ Z : b ,
58+ W : a ,
5959 }
6060}
6161
You can’t perform that action at this time.
0 commit comments