• Benjamin Otte's avatar
    gdk: Make gdk_window_begin_draw_frame() take a draw context · ca78f5d3
    Benjamin Otte authored
    ... instead of a gl context.
    
    This requires some refactoring in the way we mark the shared context as
    drawing: We now call begin_frame/end_frame() on it and ignore the call
    on the main context.
    Unfortunately we need to do this check in all vfuncs, which sucks. But I
    haven't found a better way.
    ca78f5d3
gdkdrawingcontext.h 1.96 KB