example/glfw: add package documentation and link to installation

Fixes #114

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-05-14 11:12:39 +02:00
parent f16e8fd122
commit 391b89d11d
+9 -1
View File
@@ -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 (