[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 authored and Geoffrey McRae committed 2021-08-12 17:03:18 +10:00
1 parent 35bd641d2a
commit 8c18817e2d
1 file changed
-1
-1
View File
@@ -239,7 +239,6 @@ static GLuint egl_filterDownscaleRun(EGL_Filter * filter, EGL_Model * model,
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, texture);
glGenerateMipmap(GL_TEXTURE_2D);
glBindSampler(0, this->sampler);
egl_shaderUse(this->shader);