Skip to content

Commit

Permalink
Don't set the GLMakie window icon on OSX (#3999)
Browse files Browse the repository at this point in the history
This causes an exception on GLFW 3.4.
  • Loading branch information
JamesWrigley authored Jul 2, 2024
1 parent 90d88e5 commit 8ce89ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [Unreleased]

- Fixed support for GLFW 3.4 on OSX [#3999](https://github.com/MakieOrg/Makie.jl/issues/3999).
- Changed camera variables to Float64 for increased accuracy [#3984](https://github.com/MakieOrg/Makie.jl/pull/3984)
- Allow CairoMakie to render `poly` overloads that internally don't use two child plots [#3986](https://github.com/MakieOrg/Makie.jl/pull/3986).
- Fixes for Menu and DataInspector [#3975](https://github.com/MakieOrg/Makie.jl/pull/3975).
Expand Down
5 changes: 4 additions & 1 deletion GLMakie/src/screen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ function empty_screen(debugging::Bool; reuse=true)
rethrow(e)
end

GLFW.SetWindowIcon(window, Makie.icon())
# GLFW doesn't support setting the icon on OSX
if !Sys.isapple()
GLFW.SetWindowIcon(window, Makie.icon())
end

# tell GLAbstraction that we created a new context.
# This is important for resource tracking, and only needed for the first context
Expand Down

0 comments on commit 8ce89ac

Please sign in to comment.