Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L libglvnd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • glvnd
  • libglvnd
  • Merge requests
  • !50

GLX: Return dummy strings for glXGetClientString(NULL, ...)

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Kyle Brenneman requested to merge github/fork/aaronp24/kde-clientstring-workaround into master Jan 08, 2016
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: aaronp24

KDE calls glXGetClientString with a NULL dpy argument, which crashes in the call to XScreenCount(dpy). Work around it by explicitly checking for this and returning some static strings.

Note that one oddity is that querying the GLX_VERSION with a NULL dpy will return the maximum version supported by libglvnd, but specifying a display will return the maximum supported by any vendor on the display (up to libglvnd's supported maximum).

Signed-off-by: Aaron Plattner aplattner@nvidia.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/aaronp24/kde-clientstring-workaround