Greatly simplify sample code by using EGL_NATIVE_VISUAL_ID.

This is the preferred way of selecting config starting in
gingerbread, this procedure guarantees forward compatibility.

Change-Id: Iff55b545e722205bd029b92da33368129253b8a3
5 files changed