Skip to content

Commit

Permalink
Add a workaround to T7099
Browse files Browse the repository at this point in the history
Fixes issue fyne-io/desktop/#1
  • Loading branch information
andydotxyz committed Jul 7, 2018
1 parent 9c8ea5c commit 4bf9680
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions desktop/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ type window struct {
}

func init() {
// This is a workaround for a logged issue, phab.enlightenment.org/T7099
os.Setenv("EVAS_DRM_BUFFERS", "5")

C.evas_init()
C.ecore_init()
C.ecore_evas_init()
Expand Down

0 comments on commit 4bf9680

Please sign in to comment.