mobile/gl
pankona 448c916b90 x/mobile/gl: fix building if gldebug tag is specified
in gldebug.go, Enum value TIMEOUT_IGNORED requires uint64 length
to handle it. On the other hand, Enum is declared as uint32, it causes
build error because of overflow.

Since GL_TIMEOUT_IGNORED is not a kind of GLenum, it should not be
listed in that switch statement. Introduce white list for available
Enum value to exclude such variables they cannot be classified as Enum
because of its variable length.

Fixes golang/go#17075

Change-Id: Ic1a4ee72b313861e48fe3e1cfaec91c91da6ddb3
Reviewed-on: https://go-review.googlesource.com/53531
Reviewed-by: Elias Naur <elias.naur@gmail.com>
2017-08-09 07:17:13 +00:00
..
consts.go gl: ES 3.0 constants 2016-06-15 15:09:55 +00:00
dll_windows.go x/mobile/gl: fix windows context3 and dlls 2016-10-13 20:58:55 +00:00
doc.go gl: support for GL ES 3.0 2016-06-09 14:35:26 +00:00
fn.go gl: a few more ES 3.0 functions 2016-06-15 17:57:41 +00:00
gendebug.go x/mobile/gl: fix building if gldebug tag is specified 2017-08-09 07:17:13 +00:00
gl.go gl: a few more ES 3.0 functions 2016-06-15 17:57:41 +00:00
gldebug.go x/mobile/gl: fix building if gldebug tag is specified 2017-08-09 07:17:13 +00:00
interface.go gl: support for GL ES 3.0 2016-06-09 14:35:26 +00:00
types_debug.go gl: factor cgo types out of gl.go 2015-12-14 14:29:55 +00:00
types_prod.go gl: factor cgo types out of gl.go 2015-12-14 14:29:55 +00:00
work.c gl: fix build on OS X 2016-06-16 22:06:45 +00:00
work.go x/mobile/gl: Fix macro definitions for iOS 2016-06-15 15:09:20 +00:00
work.h gl: fix build on OS X 2016-06-16 22:06:45 +00:00
work_windows.go x/mobile/gl: fix building on windows/386 2016-10-26 17:46:18 +00:00
work_windows_386.s x/mobile/gl: fix building on windows/386 2016-10-26 17:46:18 +00:00
work_windows_amd64.s x/mobile/gl: include textflag.h in work_windows_amd64.s 2015-12-17 17:59:11 +00:00