diff --git a/examples/gg/logo.png b/examples/gg/logo.png new file mode 100644 index 0000000000..98ebfb19b3 Binary files /dev/null and b/examples/gg/logo.png differ diff --git a/examples/gg/rectangles.v b/examples/gg/rectangles.v index e079d9f254..18fb18fa56 100644 --- a/examples/gg/rectangles.v +++ b/examples/gg/rectangles.v @@ -28,7 +28,7 @@ fn main() { user_data: app init_fn: init_images ) - app.image = app.gg.create_image('logo.png') + app.image = app.gg.create_image(os.resource_abs_path('logo.png')) app.gg.run() }