From 2c4c30e62aac9f55cf2287feb0ef6ed81c5430d3 Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Fri, 11 May 2012 06:56:43 -0700 Subject: Fix --no-gles config, and ease the pain of standalone emulator build 1. Apparently, emulator build fails when configured with --no-gles option due to missing android_setPostCallback implementation. 2. It's painful to configure standalone emulator build WITH OpenGLES, since it requires explicit using of --gles-include, and --gles-lib when launching android-configure.sh To ease that pain, just use default location for standalone emulator build. Change-Id: I2d9ed56d68a4ab1cb1ec294817f22dca80d33223 --- android/opengles.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'android') diff --git a/android/opengles.c b/android/opengles.c index b265428..f56252c 100644 --- a/android/opengles.c +++ b/android/opengles.c @@ -283,6 +283,11 @@ int android_startOpenglesRenderer(int width, int height) return -1; } +void +android_setPostCallback(OnPostFunc onPost, void* onPostContext) +{ +} + void android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize, char* renderer, size_t rendererBufSize, char* version, size_t versionBufSize) -- cgit v1.1