aboutsummaryrefslogtreecommitdiff
path: root/include/ui/gtk.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-07-07 09:29:23 +0200
committerPeter Maydell <peter.maydell@linaro.org>2016-07-11 10:40:29 +0100
commitf7d3f8c0c0737b3b99a45b46ea23f4ab15cdb135 (patch)
tree5b35f7b9efeb1b6685d5c2a3ef4691d469c64497 /include/ui/gtk.h
parent4f4a9ca4a4386c137301b3662faba076455ff15a (diff)
gtk: fix build
Commit "9d8256e virgl: pass whole GL scanout dimensions" missed the opengl code path for gtk versions >= 3.16. Update that one too and fix the build with recent gtk versions. Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1467876563-1351-1-git-send-email-kraxel@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/ui/gtk.h')
-rw-r--r--include/ui/gtk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/gtk.h b/include/ui/gtk.h
index a7644046e4..42ca0fea8b 100644
--- a/include/ui/gtk.h
+++ b/include/ui/gtk.h
@@ -124,6 +124,7 @@ void gd_gl_area_destroy_context(DisplayChangeListener *dcl,
QEMUGLContext ctx);
void gd_gl_area_scanout(DisplayChangeListener *dcl,
uint32_t backing_id, bool backing_y_0_top,
+ uint32_t backing_width, uint32_t backing_height,
uint32_t x, uint32_t y,
uint32_t w, uint32_t h);
void gd_gl_area_scanout_flush(DisplayChangeListener *dcl,