Skip to content

Commit

Permalink
Fix the build of gles3jni sample
Browse files Browse the repository at this point in the history
Previously it was specifying ANDROID_PLATFORM for cmake instead of
ANDROID_PLATFORM_LEVEL.
  • Loading branch information
Tamas Berghammer committed Sep 22, 2016
1 parent be56a77 commit 42f77c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gles3jni/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
// pass command line arguments to cmake: our CMakeLists.txt needs it
// to load the right openGL lib (gles2 vs. gles3 )
// other ndk flags could also be configured there [cppFlags, cFlags...]
arguments "-DANDROID_PLATFORM=android-${platformVersion}",
arguments "-DANDROID_PLATFORM_LEVEL=${platformVersion}",
'-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=gnustl_static'
}
}
Expand Down

0 comments on commit 42f77c0

Please sign in to comment.