3dvideo example: Correct video overlay for HiDPI
authorJan Schmidt <jan@centricular.com>
Thu, 23 Nov 2017 14:37:48 +0000 (01:37 +1100)
committerJan Schmidt <jan@centricular.com>
Thu, 23 Nov 2017 14:37:48 +0000 (01:37 +1100)
commit9a10dbe35025ca119dd44ba44509a9af727df370
tree307fa2e2b37a18ada1d53d353855b8ba83932389
parent73cd56bddb07311552a83d14fad6574f6bfa3671
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