aboutsummaryrefslogtreecommitdiffstats
path: root/vl-android.c
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-03-21 11:49:42 -0700
committerJesse Hall <jessehall@google.com>2012-03-22 13:30:16 -0700
commit2f4361f1d63751f1f72e1a1f953acfb9c05727da (patch)
tree111a0e5f22638690e26c8a23e73bd44f90bf10d0 /vl-android.c
parent541a7b25951ed30c7411eda50cce3ff9fa0289e4 (diff)
downloadexternal_qemu-2f4361f1d63751f1f72e1a1f953acfb9c05727da.zip
external_qemu-2f4361f1d63751f1f72e1a1f953acfb9c05727da.tar.gz
external_qemu-2f4361f1d63751f1f72e1a1f953acfb9c05727da.tar.bz2
EmuGL: Add OnPost callback to OpenGL renderer
Match the interface changes in the OpenGL renderer that add a per-frame callback. The callback isn't used in this change. This change is co-dependent on Idae3b026d52ed8dd666cbcdc3f3af80175c90ad3 in development/. Change-Id: Idae3b026d52ed8dd666cbcdc3f3af80175c90ad3
Diffstat (limited to 'vl-android.c')
-rw-r--r--vl-android.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vl-android.c b/vl-android.c
index 1ec910b..bf50b77 100644
--- a/vl-android.c
+++ b/vl-android.c
@@ -3877,7 +3877,8 @@ int main(int argc, char **argv, char **envp)
if (android_hw->hw_gpu_enabled) {
if (android_initOpenglesEmulation() == 0) {
gles_emul = 1;
- android_startOpenglesRenderer(android_hw->hw_lcd_width, android_hw->hw_lcd_height);
+ android_startOpenglesRenderer(android_hw->hw_lcd_width, android_hw->hw_lcd_height,
+ NULL, NULL);
} else {
dwarning("Could not initialize OpenglES emulation, using software renderer.");
}