Skip to content

Fix window system aliasing/normalization (#6)

Simon McVittie requested to merge wip/issue6 into master
  • graphics: Reapply normalization of window system

    The intended design for SrtGraphics was for the "X11" window system for the GL family of rendering interfaces to be an alias for either GLX (for "desktop" GL) or EGL_X11 (for GLESv2, and GLESv1 if we implemented it), but this was lost during refactoring.

    Fixes: b3aa7bee "Pull argv creation out to helper function"
    Resolves: #6 (closed)

  • Add a test that the X11 window system is normalized as intended

    When a window system/rendering interface pair is an alias for another, we normalize the resulting SrtGraphics object. This test passes when cherry-picked to a commit prior to b3aa7bee, regressed in b3aa7bee, and is fixed by 30612930.


@denittis spotted this while reviewing !77 (merged).

/cc @jpwhiting @denittis

Merge request reports