Skip to content
  • Chun-wei Fan's avatar
    Add OpenGL Support for the GDK Windows Backend · 536fa88c
    Chun-wei Fan authored
    This adds support for OpenGL to the GDK Windows backend using the WGL API
    calls, which enables programs that uses the GTK+ GLArea widgets to work on
    Windows as well.
    
    This also adds a simple utility function to query for the version of OpenGL
    that is supported by the Windows system, like the one provided by the X11
    backend.
    
    Many thanks to Alex (and Emmanuele, who started the OpenGL integration in
    GTK+) who offered advice and help along the way, as well as the X11 and
    Wayland backend for this work to refer to and to model upon.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740795
    536fa88c