2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

OpenGL: set linear mag filter when blitting a downscaled image.

This commit is contained in:
Fernando Sahmkow 2021-07-27 00:48:22 +02:00
parent 117f8ee7a4
commit cee7eba64e

View file

@ -257,6 +257,7 @@ void RendererOpenGL::InitOpenGLObjects() {
// Generate presentation sampler
present_sampler.Create();
glSamplerParameteri(present_sampler.handle, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glSamplerParameteri(present_sampler.handle, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
// Generate VBO handle for drawing
vertex_buffer.Create();