Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11: fix usage of required configuration values #15148

Merged
merged 2 commits into from Feb 10, 2019
Merged

Commits on Feb 8, 2019

  1. X11: fix usage of required configuration values

    Before has Kodi checked only the EGL_NATIVE_VISUAL_ID and ignored
    others. With this was e.g. on a some addons the needed EGL_DEPTH_SIZE
    not available.
    
    This separates a part of IsSuitableVisual (...) into a separate function
    (SuitableCheck (...)) which is checked by GetEGLConfig and takes the
    necessary configuration from the list.
    AlwinEsch committed Feb 8, 2019
    Copy the full SHA
    e393a31 View commit details
    Browse the repository at this point in the history
  2. X11: remove not needed CGLContextEGL::IsSuitableVisual

    This calls GetEGLConfig which becomes also called direct after
    the place where IsSuitableVisual is called.
    AlwinEsch committed Feb 8, 2019
    Copy the full SHA
    1ce33cc View commit details
    Browse the repository at this point in the history