| 12345678910111213141516 |
- // Copyright 2016 The G3N Authors. All rights reserved.
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
- package gls
- // Generation of API files: glapi.c, glapi.h, consts.go
- //go:generate glapi2go glcorearb.h
- // // Platform build flags
- // #cgo freebsd CFLAGS: -DGL_GLEXT_PROTOTYPES
- // #cgo freebsd LDFLAGS: -ldl
- // #cgo linux CFLAGS: -DGL_GLEXT_PROTOTYPES
- // #cgo linux LDFLAGS: -ldl
- // #cgo windows CFLAGS: -DGL_GLEXT_PROTOTYPES
- // #cgo darwin LDFLAGS: -framework OpenGL
- import "C"
|