OSDN Git Service

simplify a bit the native-activity sample code
authorMathias Agopian <mathias@google.com>
Mon, 25 Oct 2010 01:29:48 +0000 (18:29 -0700)
committerMathias Agopian <mathias@google.com>
Tue, 26 Oct 2010 00:59:06 +0000 (17:59 -0700)
commitf0c011224a2f7410f35253fb8bb8df158acb51a8
tree1e64b423505171516c9ef05ff50d811eccc5aab2
parenta77c1bdd4abf3c7e82af1f3b4330143d14c84103
simplify a bit the native-activity sample code

there is no reason to set a depth buffer. this is somewhat confusing.
also, it's better to always specify EGL_SURFACE_TYPE.

Change-Id: Ieff499b0b69a3812773cf3fe08b8bf1ca57a82d9
ndk/platforms/android-9/samples/native-activity/jni/main.c