diff --git a/ndk/platforms/android-4/samples/san-angeles/jni/importgl.h b/ndk/platforms/android-4/samples/san-angeles/jni/importgl.h index b05e0c84f..a19a3a7a3 100644 --- a/ndk/platforms/android-4/samples/san-angeles/jni/importgl.h +++ b/ndk/platforms/android-4/samples/san-angeles/jni/importgl.h @@ -36,12 +36,6 @@ extern "C" { #include #endif /* !ANDROID_NDK */ -/* Use DISABLE_IMPORTGL if you want to link the OpenGL ES at - * compile/link time and not import it dynamically runtime. - */ -#ifndef DISABLE_IMPORTGL - - /* Dynamically fetches pointers to the egl & gl functions. * Should be called once on application initialization. * Returns non-zero on success and 0 on failure. @@ -52,6 +46,11 @@ extern int importGLInit(); */ extern void importGLDeinit(); +/* Use DISABLE_IMPORTGL if you want to link the OpenGL ES at + * compile/link time and not import it dynamically runtime. + */ +#ifndef DISABLE_IMPORTGL + #ifndef IMPORTGL_API #define IMPORTGL_API extern diff --git a/ndk/platforms/android-4/samples/san-angeles/res/layout/main.xml b/ndk/platforms/android-4/samples/san-angeles/res/layout/main.xml index ca19a18ae..3e76662d6 100644 --- a/ndk/platforms/android-4/samples/san-angeles/res/layout/main.xml +++ b/ndk/platforms/android-4/samples/san-angeles/res/layout/main.xml @@ -1,11 +1,11 @@