[client] egl: don't generate mipmaps in downscale filter

When using DMABUF, the mipmaps can cause driver hangs and crashes.
This commit is contained in:
Quantum 2021-08-12 03:02:12 -04:00 committed by Geoffrey McRae
parent 35bd641d2a
commit 8c18817e2d

View File

@ -239,7 +239,6 @@ static GLuint egl_filterDownscaleRun(EGL_Filter * filter, EGL_Model * model,
glActiveTexture(GL_TEXTURE0); glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, texture); glBindTexture(GL_TEXTURE_2D, texture);
glGenerateMipmap(GL_TEXTURE_2D);
glBindSampler(0, this->sampler); glBindSampler(0, this->sampler);
egl_shaderUse(this->shader); egl_shaderUse(this->shader);