From 4f8bcf4eec9b8303934cb8fa2068cfd4abc3c052 Mon Sep 17 00:00:00 2001 From: myaaaaaaaaa <103326468+myaaaaaaaaa@users.noreply.github.com> Date: Wed, 26 Jun 2024 16:41:53 -0400 Subject: [PATCH] Regenerate according to go-gl/glow#126 --- all-core/gl/KHR/dummy.go | 5 ----- all-core/gl/build_cgo_hack.go | 17 ----------------- all-core/gl/{KHR => }/khrplatform.h | 0 all-core/gl/package.go | 2 +- v2.1/gl/KHR/dummy.go | 5 ----- v2.1/gl/build_cgo_hack.go | 17 ----------------- v2.1/gl/{KHR => }/khrplatform.h | 0 v2.1/gl/package.go | 2 +- v3.0/gles2/{KHR => }/khrplatform.h | 0 v3.0/gles2/package.go | 2 +- v3.1/gles2/KHR/dummy.go | 5 ----- v3.1/gles2/build_cgo_hack.go | 17 ----------------- v3.1/gles2/{KHR => }/khrplatform.h | 0 v3.1/gles2/package.go | 2 +- v3.2-compatibility/gl/KHR/dummy.go | 5 ----- v3.2-compatibility/gl/build_cgo_hack.go | 17 ----------------- v3.2-compatibility/gl/{KHR => }/khrplatform.h | 0 v3.2-compatibility/gl/package.go | 2 +- v3.2-core/gl/KHR/dummy.go | 5 ----- v3.2-core/gl/build_cgo_hack.go | 17 ----------------- v3.2-core/gl/{KHR => }/khrplatform.h | 0 v3.2-core/gl/package.go | 2 +- v3.3-compatibility/gl/KHR/dummy.go | 5 ----- v3.3-compatibility/gl/build_cgo_hack.go | 17 ----------------- v3.3-compatibility/gl/{KHR => }/khrplatform.h | 0 v3.3-compatibility/gl/package.go | 2 +- v3.3-core/gl/KHR/dummy.go | 5 ----- v3.3-core/gl/build_cgo_hack.go | 17 ----------------- v3.3-core/gl/{KHR => }/khrplatform.h | 0 v3.3-core/gl/package.go | 2 +- v4.1-compatibility/gl/KHR/dummy.go | 5 ----- v4.1-compatibility/gl/build_cgo_hack.go | 17 ----------------- v4.1-compatibility/gl/{KHR => }/khrplatform.h | 0 v4.1-compatibility/gl/package.go | 2 +- v4.1-core/gl/KHR/dummy.go | 5 ----- v4.1-core/gl/build_cgo_hack.go | 17 ----------------- v4.1-core/gl/{KHR => }/khrplatform.h | 0 v4.1-core/gl/package.go | 2 +- v4.2-compatibility/gl/KHR/dummy.go | 5 ----- v4.2-compatibility/gl/build_cgo_hack.go | 17 ----------------- v4.2-compatibility/gl/{KHR => }/khrplatform.h | 0 v4.2-compatibility/gl/package.go | 2 +- v4.2-core/gl/KHR/dummy.go | 5 ----- v4.2-core/gl/build_cgo_hack.go | 17 ----------------- v4.2-core/gl/{KHR => }/khrplatform.h | 0 v4.2-core/gl/package.go | 2 +- v4.3-compatibility/gl/KHR/dummy.go | 5 ----- v4.3-compatibility/gl/build_cgo_hack.go | 17 ----------------- v4.3-compatibility/gl/{KHR => }/khrplatform.h | 0 v4.3-compatibility/gl/package.go | 2 +- v4.3-core/gl/KHR/dummy.go | 5 ----- v4.3-core/gl/build_cgo_hack.go | 17 ----------------- v4.3-core/gl/{KHR => }/khrplatform.h | 0 v4.3-core/gl/package.go | 2 +- v4.4-compatibility/gl/KHR/dummy.go | 5 ----- v4.4-compatibility/gl/build_cgo_hack.go | 17 ----------------- v4.4-compatibility/gl/{KHR => }/khrplatform.h | 0 v4.4-compatibility/gl/package.go | 2 +- v4.4-core/gl/KHR/dummy.go | 5 ----- v4.4-core/gl/build_cgo_hack.go | 17 ----------------- v4.4-core/gl/{KHR => }/khrplatform.h | 0 v4.4-core/gl/package.go | 2 +- v4.5-compatibility/gl/KHR/dummy.go | 5 ----- v4.5-compatibility/gl/build_cgo_hack.go | 17 ----------------- v4.5-compatibility/gl/{KHR => }/khrplatform.h | 0 v4.5-compatibility/gl/package.go | 2 +- v4.5-core/gl/KHR/dummy.go | 5 ----- v4.5-core/gl/build_cgo_hack.go | 17 ----------------- v4.5-core/gl/{KHR => }/khrplatform.h | 0 v4.5-core/gl/package.go | 2 +- v4.6-compatibility/gl/KHR/dummy.go | 5 ----- v4.6-compatibility/gl/build_cgo_hack.go | 17 ----------------- v4.6-compatibility/gl/{KHR => }/khrplatform.h | 0 v4.6-compatibility/gl/package.go | 2 +- v4.6-core/gl/KHR/dummy.go | 5 ----- v4.6-core/gl/build_cgo_hack.go | 17 ----------------- v4.6-core/gl/{KHR => }/khrplatform.h | 0 v4.6-core/gl/package.go | 2 +- 78 files changed, 20 insertions(+), 438 deletions(-) delete mode 100644 all-core/gl/KHR/dummy.go delete mode 100644 all-core/gl/build_cgo_hack.go rename all-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v2.1/gl/KHR/dummy.go delete mode 100644 v2.1/gl/build_cgo_hack.go rename v2.1/gl/{KHR => }/khrplatform.h (100%) rename v3.0/gles2/{KHR => }/khrplatform.h (100%) delete mode 100644 v3.1/gles2/KHR/dummy.go delete mode 100644 v3.1/gles2/build_cgo_hack.go rename v3.1/gles2/{KHR => }/khrplatform.h (100%) delete mode 100644 v3.2-compatibility/gl/KHR/dummy.go delete mode 100644 v3.2-compatibility/gl/build_cgo_hack.go rename v3.2-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v3.2-core/gl/KHR/dummy.go delete mode 100644 v3.2-core/gl/build_cgo_hack.go rename v3.2-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v3.3-compatibility/gl/KHR/dummy.go delete mode 100644 v3.3-compatibility/gl/build_cgo_hack.go rename v3.3-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v3.3-core/gl/KHR/dummy.go delete mode 100644 v3.3-core/gl/build_cgo_hack.go rename v3.3-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.1-compatibility/gl/KHR/dummy.go delete mode 100644 v4.1-compatibility/gl/build_cgo_hack.go rename v4.1-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.1-core/gl/KHR/dummy.go delete mode 100644 v4.1-core/gl/build_cgo_hack.go rename v4.1-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.2-compatibility/gl/KHR/dummy.go delete mode 100644 v4.2-compatibility/gl/build_cgo_hack.go rename v4.2-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.2-core/gl/KHR/dummy.go delete mode 100644 v4.2-core/gl/build_cgo_hack.go rename v4.2-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.3-compatibility/gl/KHR/dummy.go delete mode 100644 v4.3-compatibility/gl/build_cgo_hack.go rename v4.3-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.3-core/gl/KHR/dummy.go delete mode 100644 v4.3-core/gl/build_cgo_hack.go rename v4.3-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.4-compatibility/gl/KHR/dummy.go delete mode 100644 v4.4-compatibility/gl/build_cgo_hack.go rename v4.4-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.4-core/gl/KHR/dummy.go delete mode 100644 v4.4-core/gl/build_cgo_hack.go rename v4.4-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.5-compatibility/gl/KHR/dummy.go delete mode 100644 v4.5-compatibility/gl/build_cgo_hack.go rename v4.5-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.5-core/gl/KHR/dummy.go delete mode 100644 v4.5-core/gl/build_cgo_hack.go rename v4.5-core/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.6-compatibility/gl/KHR/dummy.go delete mode 100644 v4.6-compatibility/gl/build_cgo_hack.go rename v4.6-compatibility/gl/{KHR => }/khrplatform.h (100%) delete mode 100644 v4.6-core/gl/KHR/dummy.go delete mode 100644 v4.6-core/gl/build_cgo_hack.go rename v4.6-core/gl/{KHR => }/khrplatform.h (100%) diff --git a/all-core/gl/KHR/dummy.go b/all-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/all-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/all-core/gl/build_cgo_hack.go b/all-core/gl/build_cgo_hack.go deleted file mode 100644 index 2370539..0000000 --- a/all-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/all-core/gl/KHR" -) diff --git a/all-core/gl/KHR/khrplatform.h b/all-core/gl/khrplatform.h similarity index 100% rename from all-core/gl/KHR/khrplatform.h rename to all-core/gl/khrplatform.h diff --git a/all-core/gl/package.go b/all-core/gl/package.go index 3062940..65d1179 100644 --- a/all-core/gl/package.go +++ b/all-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v2.1/gl/KHR/dummy.go b/v2.1/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v2.1/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v2.1/gl/build_cgo_hack.go b/v2.1/gl/build_cgo_hack.go deleted file mode 100644 index 55c1130..0000000 --- a/v2.1/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v2.1/gl/KHR" -) diff --git a/v2.1/gl/KHR/khrplatform.h b/v2.1/gl/khrplatform.h similarity index 100% rename from v2.1/gl/KHR/khrplatform.h rename to v2.1/gl/khrplatform.h diff --git a/v2.1/gl/package.go b/v2.1/gl/package.go index 5cb742a..750524d 100644 --- a/v2.1/gl/package.go +++ b/v2.1/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v3.0/gles2/KHR/khrplatform.h b/v3.0/gles2/khrplatform.h similarity index 100% rename from v3.0/gles2/KHR/khrplatform.h rename to v3.0/gles2/khrplatform.h diff --git a/v3.0/gles2/package.go b/v3.0/gles2/package.go index 2acfed9..dfff0f0 100644 --- a/v3.0/gles2/package.go +++ b/v3.0/gles2/package.go @@ -37,7 +37,7 @@ package gles2 // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v3.1/gles2/KHR/dummy.go b/v3.1/gles2/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v3.1/gles2/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v3.1/gles2/build_cgo_hack.go b/v3.1/gles2/build_cgo_hack.go deleted file mode 100644 index 440860e..0000000 --- a/v3.1/gles2/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gles2 - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v3.1/gles2/KHR" -) diff --git a/v3.1/gles2/KHR/khrplatform.h b/v3.1/gles2/khrplatform.h similarity index 100% rename from v3.1/gles2/KHR/khrplatform.h rename to v3.1/gles2/khrplatform.h diff --git a/v3.1/gles2/package.go b/v3.1/gles2/package.go index f7e5524..1974f86 100644 --- a/v3.1/gles2/package.go +++ b/v3.1/gles2/package.go @@ -37,7 +37,7 @@ package gles2 // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v3.2-compatibility/gl/KHR/dummy.go b/v3.2-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v3.2-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v3.2-compatibility/gl/build_cgo_hack.go b/v3.2-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index 626fe4d..0000000 --- a/v3.2-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v3.2-compatibility/gl/KHR" -) diff --git a/v3.2-compatibility/gl/KHR/khrplatform.h b/v3.2-compatibility/gl/khrplatform.h similarity index 100% rename from v3.2-compatibility/gl/KHR/khrplatform.h rename to v3.2-compatibility/gl/khrplatform.h diff --git a/v3.2-compatibility/gl/package.go b/v3.2-compatibility/gl/package.go index 815b1a4..c913f45 100644 --- a/v3.2-compatibility/gl/package.go +++ b/v3.2-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v3.2-core/gl/KHR/dummy.go b/v3.2-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v3.2-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v3.2-core/gl/build_cgo_hack.go b/v3.2-core/gl/build_cgo_hack.go deleted file mode 100644 index fde605f..0000000 --- a/v3.2-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v3.2-core/gl/KHR" -) diff --git a/v3.2-core/gl/KHR/khrplatform.h b/v3.2-core/gl/khrplatform.h similarity index 100% rename from v3.2-core/gl/KHR/khrplatform.h rename to v3.2-core/gl/khrplatform.h diff --git a/v3.2-core/gl/package.go b/v3.2-core/gl/package.go index a55c17f..bab01b2 100644 --- a/v3.2-core/gl/package.go +++ b/v3.2-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v3.3-compatibility/gl/KHR/dummy.go b/v3.3-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v3.3-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v3.3-compatibility/gl/build_cgo_hack.go b/v3.3-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index cc4dbcd..0000000 --- a/v3.3-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v3.3-compatibility/gl/KHR" -) diff --git a/v3.3-compatibility/gl/KHR/khrplatform.h b/v3.3-compatibility/gl/khrplatform.h similarity index 100% rename from v3.3-compatibility/gl/KHR/khrplatform.h rename to v3.3-compatibility/gl/khrplatform.h diff --git a/v3.3-compatibility/gl/package.go b/v3.3-compatibility/gl/package.go index 6bd5f3d..8aaea4f 100644 --- a/v3.3-compatibility/gl/package.go +++ b/v3.3-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v3.3-core/gl/KHR/dummy.go b/v3.3-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v3.3-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v3.3-core/gl/build_cgo_hack.go b/v3.3-core/gl/build_cgo_hack.go deleted file mode 100644 index 6c59262..0000000 --- a/v3.3-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v3.3-core/gl/KHR" -) diff --git a/v3.3-core/gl/KHR/khrplatform.h b/v3.3-core/gl/khrplatform.h similarity index 100% rename from v3.3-core/gl/KHR/khrplatform.h rename to v3.3-core/gl/khrplatform.h diff --git a/v3.3-core/gl/package.go b/v3.3-core/gl/package.go index 1c38c37..3e871a8 100644 --- a/v3.3-core/gl/package.go +++ b/v3.3-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.1-compatibility/gl/KHR/dummy.go b/v4.1-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.1-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.1-compatibility/gl/build_cgo_hack.go b/v4.1-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index c5665c2..0000000 --- a/v4.1-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.1-compatibility/gl/KHR" -) diff --git a/v4.1-compatibility/gl/KHR/khrplatform.h b/v4.1-compatibility/gl/khrplatform.h similarity index 100% rename from v4.1-compatibility/gl/KHR/khrplatform.h rename to v4.1-compatibility/gl/khrplatform.h diff --git a/v4.1-compatibility/gl/package.go b/v4.1-compatibility/gl/package.go index 7517f34..dd08a7e 100644 --- a/v4.1-compatibility/gl/package.go +++ b/v4.1-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.1-core/gl/KHR/dummy.go b/v4.1-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.1-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.1-core/gl/build_cgo_hack.go b/v4.1-core/gl/build_cgo_hack.go deleted file mode 100644 index 82c42f9..0000000 --- a/v4.1-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.1-core/gl/KHR" -) diff --git a/v4.1-core/gl/KHR/khrplatform.h b/v4.1-core/gl/khrplatform.h similarity index 100% rename from v4.1-core/gl/KHR/khrplatform.h rename to v4.1-core/gl/khrplatform.h diff --git a/v4.1-core/gl/package.go b/v4.1-core/gl/package.go index 0b58b86..6605d39 100644 --- a/v4.1-core/gl/package.go +++ b/v4.1-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.2-compatibility/gl/KHR/dummy.go b/v4.2-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.2-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.2-compatibility/gl/build_cgo_hack.go b/v4.2-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index 8ebc669..0000000 --- a/v4.2-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.2-compatibility/gl/KHR" -) diff --git a/v4.2-compatibility/gl/KHR/khrplatform.h b/v4.2-compatibility/gl/khrplatform.h similarity index 100% rename from v4.2-compatibility/gl/KHR/khrplatform.h rename to v4.2-compatibility/gl/khrplatform.h diff --git a/v4.2-compatibility/gl/package.go b/v4.2-compatibility/gl/package.go index e4483ba..df82d7c 100644 --- a/v4.2-compatibility/gl/package.go +++ b/v4.2-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.2-core/gl/KHR/dummy.go b/v4.2-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.2-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.2-core/gl/build_cgo_hack.go b/v4.2-core/gl/build_cgo_hack.go deleted file mode 100644 index 4628655..0000000 --- a/v4.2-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.2-core/gl/KHR" -) diff --git a/v4.2-core/gl/KHR/khrplatform.h b/v4.2-core/gl/khrplatform.h similarity index 100% rename from v4.2-core/gl/KHR/khrplatform.h rename to v4.2-core/gl/khrplatform.h diff --git a/v4.2-core/gl/package.go b/v4.2-core/gl/package.go index 3c3cbeb..4ac2f7c 100644 --- a/v4.2-core/gl/package.go +++ b/v4.2-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.3-compatibility/gl/KHR/dummy.go b/v4.3-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.3-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.3-compatibility/gl/build_cgo_hack.go b/v4.3-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index 478547f..0000000 --- a/v4.3-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.3-compatibility/gl/KHR" -) diff --git a/v4.3-compatibility/gl/KHR/khrplatform.h b/v4.3-compatibility/gl/khrplatform.h similarity index 100% rename from v4.3-compatibility/gl/KHR/khrplatform.h rename to v4.3-compatibility/gl/khrplatform.h diff --git a/v4.3-compatibility/gl/package.go b/v4.3-compatibility/gl/package.go index 0d89202..0e56e5a 100644 --- a/v4.3-compatibility/gl/package.go +++ b/v4.3-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.3-core/gl/KHR/dummy.go b/v4.3-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.3-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.3-core/gl/build_cgo_hack.go b/v4.3-core/gl/build_cgo_hack.go deleted file mode 100644 index 0c73174..0000000 --- a/v4.3-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.3-core/gl/KHR" -) diff --git a/v4.3-core/gl/KHR/khrplatform.h b/v4.3-core/gl/khrplatform.h similarity index 100% rename from v4.3-core/gl/KHR/khrplatform.h rename to v4.3-core/gl/khrplatform.h diff --git a/v4.3-core/gl/package.go b/v4.3-core/gl/package.go index 8142595..0a70729 100644 --- a/v4.3-core/gl/package.go +++ b/v4.3-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.4-compatibility/gl/KHR/dummy.go b/v4.4-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.4-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.4-compatibility/gl/build_cgo_hack.go b/v4.4-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index ee516ef..0000000 --- a/v4.4-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.4-compatibility/gl/KHR" -) diff --git a/v4.4-compatibility/gl/KHR/khrplatform.h b/v4.4-compatibility/gl/khrplatform.h similarity index 100% rename from v4.4-compatibility/gl/KHR/khrplatform.h rename to v4.4-compatibility/gl/khrplatform.h diff --git a/v4.4-compatibility/gl/package.go b/v4.4-compatibility/gl/package.go index ebde7e9..4891c0a 100644 --- a/v4.4-compatibility/gl/package.go +++ b/v4.4-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.4-core/gl/KHR/dummy.go b/v4.4-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.4-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.4-core/gl/build_cgo_hack.go b/v4.4-core/gl/build_cgo_hack.go deleted file mode 100644 index 213fefa..0000000 --- a/v4.4-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.4-core/gl/KHR" -) diff --git a/v4.4-core/gl/KHR/khrplatform.h b/v4.4-core/gl/khrplatform.h similarity index 100% rename from v4.4-core/gl/KHR/khrplatform.h rename to v4.4-core/gl/khrplatform.h diff --git a/v4.4-core/gl/package.go b/v4.4-core/gl/package.go index 2658019..27b762c 100644 --- a/v4.4-core/gl/package.go +++ b/v4.4-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.5-compatibility/gl/KHR/dummy.go b/v4.5-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.5-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.5-compatibility/gl/build_cgo_hack.go b/v4.5-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index 45eede6..0000000 --- a/v4.5-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.5-compatibility/gl/KHR" -) diff --git a/v4.5-compatibility/gl/KHR/khrplatform.h b/v4.5-compatibility/gl/khrplatform.h similarity index 100% rename from v4.5-compatibility/gl/KHR/khrplatform.h rename to v4.5-compatibility/gl/khrplatform.h diff --git a/v4.5-compatibility/gl/package.go b/v4.5-compatibility/gl/package.go index a3b64ba..b5d7002 100644 --- a/v4.5-compatibility/gl/package.go +++ b/v4.5-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.5-core/gl/KHR/dummy.go b/v4.5-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.5-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.5-core/gl/build_cgo_hack.go b/v4.5-core/gl/build_cgo_hack.go deleted file mode 100644 index db75aee..0000000 --- a/v4.5-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.5-core/gl/KHR" -) diff --git a/v4.5-core/gl/KHR/khrplatform.h b/v4.5-core/gl/khrplatform.h similarity index 100% rename from v4.5-core/gl/KHR/khrplatform.h rename to v4.5-core/gl/khrplatform.h diff --git a/v4.5-core/gl/package.go b/v4.5-core/gl/package.go index 99688ae..b7eec13 100644 --- a/v4.5-core/gl/package.go +++ b/v4.5-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.6-compatibility/gl/KHR/dummy.go b/v4.6-compatibility/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.6-compatibility/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.6-compatibility/gl/build_cgo_hack.go b/v4.6-compatibility/gl/build_cgo_hack.go deleted file mode 100644 index bfcf254..0000000 --- a/v4.6-compatibility/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.6-compatibility/gl/KHR" -) diff --git a/v4.6-compatibility/gl/KHR/khrplatform.h b/v4.6-compatibility/gl/khrplatform.h similarity index 100% rename from v4.6-compatibility/gl/KHR/khrplatform.h rename to v4.6-compatibility/gl/khrplatform.h diff --git a/v4.6-compatibility/gl/package.go b/v4.6-compatibility/gl/package.go index 12b2394..eb17f2b 100644 --- a/v4.6-compatibility/gl/package.go +++ b/v4.6-compatibility/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield; diff --git a/v4.6-core/gl/KHR/dummy.go b/v4.6-core/gl/KHR/dummy.go deleted file mode 100644 index 9bdbdef..0000000 --- a/v4.6-core/gl/KHR/dummy.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build required -// +build required - -// Package dummy prevents go tooling from stripping the c dependencies. -package dummy diff --git a/v4.6-core/gl/build_cgo_hack.go b/v4.6-core/gl/build_cgo_hack.go deleted file mode 100644 index f476ed0..0000000 --- a/v4.6-core/gl/build_cgo_hack.go +++ /dev/null @@ -1,17 +0,0 @@ -//go:build required -// +build required - -package gl - -// 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/go`. -// -// How it works: -// - every directory which only includes c source files receives a dummy.go file. -// - every directory we want to preserve is included here as a _ import. -// - this file is given a build tag to exclude it from the regular build. -import ( - // Prevent go tooling from stripping out the c source files. - _ "github.com/go-gl/gl/v4.6-core/gl/KHR" -) diff --git a/v4.6-core/gl/KHR/khrplatform.h b/v4.6-core/gl/khrplatform.h similarity index 100% rename from v4.6-core/gl/KHR/khrplatform.h rename to v4.6-core/gl/khrplatform.h diff --git a/v4.6-core/gl/package.go b/v4.6-core/gl/package.go index a53d112..61bb673 100644 --- a/v4.6-core/gl/package.go +++ b/v4.6-core/gl/package.go @@ -37,7 +37,7 @@ package gl // #ifndef GLAPI // #define GLAPI extern // #endif -// #include +// #include // typedef unsigned int GLenum; // typedef unsigned char GLboolean; // typedef unsigned int GLbitfield;