• Benjamin Otte's avatar
    gl: Move vfunc · 9f1d6e1f
    Benjamin Otte authored
    Instead of
    we now have
    This fits better with the backends (we can actually implement
    clearCurrent on macOS now) and makes it easier to implement different GL
    backends for backends (like EGL/GLX on X11).
    We also pass a surfaceless boolean to make_current() so the calling code
    can decide if a surface needs to be bound or not, because the backends
    were all doing whatever, which was very counterproductive.
gdkdisplay.c 47.8 KB