Skip to content

Commit

Permalink
Merge branch 'master' into sd/typed-convert
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch authored Jan 25, 2024
2 parents 6a71728 + 20c35dd commit 1b3d63d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions GLMakie/src/drawing_primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -743,8 +743,9 @@ function draw_atomic(screen::Screen, scene::Scene, plot::Surface)
end

space = plot.space

gl_attributes[:image] = img
interp = to_value(pop!(gl_attributes, :interpolate, true))
interp = interp ? :linear : :nearest
gl_attributes[:image] = Texture(img; minfilter=interp)

@assert to_value(plot[3]) isa AbstractMatrix
types = map(v -> typeof(to_value(v)), plot[1:2])
Expand Down

0 comments on commit 1b3d63d

Please sign in to comment.