Android: remove app_dummy() calls
Change-Id: I0ebd4502f98d009ce5afe8c8bafb629284f0366c
This commit is contained in:
parent
ec6b0bf297
commit
cd75a36587
|
@ -18,9 +18,6 @@
|
|||
|
||||
extern int main(int argc, char **argv);
|
||||
|
||||
void android_main(android_app *app) {
|
||||
// Make sure glue isn't stripped.
|
||||
app_dummy();
|
||||
|
||||
void android_main(android_app *) {
|
||||
main(0, NULL);
|
||||
}
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
#include "android_native_app_glue.h"
|
||||
#include "animal_generated.h" // Includes "flatbuffers/flatbuffers.h".
|
||||
|
||||
void android_main(android_app *app) {
|
||||
app_dummy();
|
||||
|
||||
void android_main(android_app *) {
|
||||
flatbuffers::FlatBufferBuilder builder;
|
||||
auto name = builder.CreateString("Dog");
|
||||
auto sound = builder.CreateString("Bark");
|
||||
|
|
Loading…
Reference in New Issue