Hello,
I would like to specify GLMakie to display the window in full screen mode.
A search of Makie Issues gave the following accepted solution:
However, when I implement this proposed solution in a MWE as below
the displayed image is not full screen.
# test_GLMakie_fullscreen.jl
using ModernGL
using GLMakie
GLMakie.activate!()
screen_resolution = Makie.primary_resolution()
println("screen_resolution: ", screen_resolution)
figure = Figure(resoluton=screen_resolution)
axis = Axis(figure[1, 1])
lines!(axis, 0..10, sin)
display(figure)
Although the reported screen resolution is correct
screen_resolution: (1920, 1080)
the image displayed has dimensions of (802, 632)
Makie: v0.17.8
GLMakie: v0.6.8
julia> versioninfo()
Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)