Change the framebuffer texture scaling parameters. No artefacts when scaling on my system. Fullscreen/maximize still needs some love.
@@ -40,12 +40,12 @@ impl Framebuffer {
gl.tex_parameter_i32(
glow::TEXTURE_2D,
glow::TEXTURE_MIN_FILTER,
- glow::LINEAR as i32,
+ glow::NEAREST as i32,
);
gl.tex_parameter_i32(
glow::TEXTURE_2D,
glow::TEXTURE_MAG_FILTER,
- glow::LINEAR as i32,
+ glow::NEAREST as i32,
);
gl.tex_parameter_i32(
glow::TEXTURE_2D,
