From a6e1a74f1dae05ec0df78327d119e3f8c2719a9e Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 22 Jan 2020 21:36:47 +0100 Subject: [PATCH] gg: windows fix --- vlib/gg2/gg.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/gg2/gg.v b/vlib/gg2/gg.v index ffdbd81644..41910c84d2 100644 --- a/vlib/gg2/gg.v +++ b/vlib/gg2/gg.v @@ -200,6 +200,8 @@ pub fn (gg &GG) end() { pub fn (ctx &GG) draw_line(x, y, x2, y2 f32, color gx.Color) {} +fn C.WaitMessage() + pub fn wait_events() { unsafe { $if macos {