From 3161c07ef61cf14c22a8969e4a81b1b3dad16b8d Mon Sep 17 00:00:00 2001 From: James Date: Mon, 20 Apr 2020 16:26:59 -0400 Subject: [PATCH] Update v3.3/glfw/build_cgo_hack.go Co-Authored-By: Peter Waller --- v3.3/glfw/build_cgo_hack.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v3.3/glfw/build_cgo_hack.go b/v3.3/glfw/build_cgo_hack.go index 632cfc98..5fe4c5af 100644 --- a/v3.3/glfw/build_cgo_hack.go +++ b/v3.3/glfw/build_cgo_hack.go @@ -2,8 +2,9 @@ package glfw -// this file exists purely to prevent the golang toolchain from stripping -// away the c source directories and files. +// This file exists purely to prevent the golang toolchain from stripping +// away the c source directories and files when `go mod vendor` is used +// to populate a `vendor/` directory of a project depending on `go-gl/glfw`. // // How it works: // - every directory which only includes c source files receives a dummy.go file.