Same way we updated the testglarea test code.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
01d1cdc demos: Update the GtkGLArea demo code
demos/gtk-demo/glarea.c | 280 ++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 263 insertions(+), 17 deletions(-)
Upstream: git.gnome.org