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 18:19:42 -0700
commit7105d422d800a624b4257798e0d81ec2045491d8 (patch)
tree8d78feef6a1edd0dc9e8dd81ad9c6b2d5e3e00d3 /vl-android.c
parent26f4784a1cc9214e6a99eb20cf41862b704d326d (diff)
downloadexternal_qemu-7105d422d800a624b4257798e0d81ec2045491d8.zip
external_qemu-7105d422d800a624b4257798e0d81ec2045491d8.tar.gz
external_qemu-7105d422d800a624b4257798e0d81ec2045491d8.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.");
}