aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-05-11 06:56:43 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-05-11 14:42:42 -0700
commit2c4c30e62aac9f55cf2287feb0ef6ed81c5430d3 (patch)
tree7f6b2fe1306eeee3104be855971d2a01ad36d183 /android
parent9d6d9e510f31485416554baf2dd35b4f68fdd4bc (diff)
downloadexternal_qemu-2c4c30e62aac9f55cf2287feb0ef6ed81c5430d3.zip
external_qemu-2c4c30e62aac9f55cf2287feb0ef6ed81c5430d3.tar.gz
external_qemu-2c4c30e62aac9f55cf2287feb0ef6ed81c5430d3.tar.bz2
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
Diffstat (limited to 'android')
-rw-r--r--android/opengles.c5
1 files changed, 5 insertions, 0 deletions
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)