2
0
mirror of synced 2025-02-24 15:28:28 +00:00
David Crawshaw 54b4a066d7 gl: add a comment for linux installation
OpenGL ES is not installed by default on linux distributions, which
can lead to a cryptic error. Add a comment after the #include
mentioning what packages contain OpenGL ES on Ubuntu, which is
helpfully printed in the error message. For example:

	$ go build golang.org/x/mobile/example/basic
	# golang.org/x/mobile/gl
	In file included from ../../mobile/gl/work.go:21:0:
	work.h:6:117: fatal error: GLES2/gl2.h: No such file or directory
	 #include <GLES2/gl2.h> // install on Ubuntu with: sudo apt-get install libegl1-mesa-dev libgles2-mesa-dev libx11-dev

Change-Id: Ia7ba583cee4dfdeed408f582b29da90de9a4fab3
Reviewed-on: https://go-review.googlesource.com/18058
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2016-01-07 20:14:32 +00:00
..
2015-12-15 16:29:01 +00:00
2015-09-23 23:46:16 +00:00
2015-12-14 14:29:55 +00:00
2015-12-14 14:29:55 +00:00
2015-12-14 15:24:25 +00:00
2015-12-18 20:31:45 +00:00
2015-09-24 01:48:26 +00:00
2015-12-14 14:29:55 +00:00
2015-12-14 15:28:16 +00:00