Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1.6k
    • Issues 1.6k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 240
    • Merge requests 240
  • 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
  • GNOMEGNOME
  • gtkgtk
  • Merge requests
  • !4666

gdk: Increase generalization of gl_context_set_required_version

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Pablo Correa Gomez requested to merge pabloyoyoista/gtk:gl-warn-general into main Apr 26, 2022
  • Overview 8
  • Commits 2
  • Pipelines 4
  • Changes 1

This way the warning provides better information when the user tries to set a OpenGL ES context of a too low version, and avoids the warning getting out-of-sync with the minimum version required.

Also, avoid using gdk_gl_context_get_use_es, since it will always return FALSE because the context hasn't been realized.

See #4763 (comment 1437546)

Edited Apr 26, 2022 by Pablo Correa Gomez
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gl-warn-general