Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Request EGL in GLFW window creation #16924

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

stuartmorgan-g
Copy link
Contributor

Skia expects an EGL context, but GLFW was defaulting to non-EGL, which
causes eglGetCurrentDisplay to fail--since the context wasn't made
current via EGL--with new versions of libglvnd. (It may have worked only
by accident with previous versions).

Fixes flutter/flutter#47954

Skia expects an EGL context, but GLFW was defaulting to non-EGL, which
causes eglGetCurrentDisplay to fail--since the context wasn't made
current via EGL--with new versions of libglvnd. (It may have worked only
by accident with previous versions).

Fixes flutter/flutter#47954
@auto-assign auto-assign bot requested a review from gw280 March 4, 2020 10:49
@kenvandine
Copy link

I've confirmed this does fix the crash on Ubuntu Focal

Copy link
Contributor

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

linux can't run example app, i got libflutter_linux_glfw.so segfault error
4 participants