diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/hwdec_cuda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_cuda.c b/video/out/opengl/hwdec_cuda.c index d02826701a..fd432ee7f8 100644 --- a/video/out/opengl/hwdec_cuda.c +++ b/video/out/opengl/hwdec_cuda.c @@ -201,7 +201,7 @@ static int reinit(struct gl_hwdec *hw, struct mp_image_params *params) p->plane_bytes[n] = gl_bytes_per_pixel(fmt->format, fmt->type); gl->BindTexture(GL_TEXTURE_2D, p->gl_textures[n]); - GLenum filter = GL_NEAREST; + GLenum filter = GL_LINEAR; gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filter); gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter); gl->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); |