3dvideo example: Correct video overlay for HiDPI
authorJan Schmidt <jan@centricular.com>
Thu, 23 Nov 2017 14:37:48 +0000 (01:37 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:31 +0000 (19:32 +0000)
commitbbe084de9de605dd8c425633d0965837f7722c81
treec08bbcd605242e24ae388511a13c255c63b32d5a
parent4e2ede5e6d74f4a838715ee6e4b2f3dbf98bc80c
3dvideo example: Correct video overlay for HiDPI

Use the GTK scaling factor to scale the video allocation
so video displays correctly on hi-dpi screens
tests/examples/gl/gtk/3dvideo/main.cpp