From 391b89d11d410ea9ba01a3b45e2549735af35a06 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 14 May 2020 11:12:39 +0200 Subject: [PATCH] example/glfw: add package documentation and link to installation Fixes #114 Signed-off-by: Elias Naur --- example/glfw/main.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/example/glfw/main.go b/example/glfw/main.go index a2b0f8eb..fe45ad20 100644 --- a/example/glfw/main.go +++ b/example/glfw/main.go @@ -1,8 +1,16 @@ // SPDX-License-Identifier: Unlicense OR MIT -// package glfw doesn't build on OpenBSD and FreeBSD. +// GLFW doesn't build on OpenBSD and FreeBSD. // +build !openbsd,!freebsd,!windows,!android,!ios,!js +// The glfw example demonstrates integration of Gio into a foreign +// windowing and rendering library, in this case GLFW +// (https://www.glfw.org). +// +// See the go-glfw package for installation of the native +// dependencies: +// +// https://github.com/go-gl/glfw package main import (