mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-22 18:18:16 +02:00
gl-renderer: Don't set min/mag filters in gl_fbo_texture_init()
This is most often set again at render time. Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
This commit is contained in:
parent
51d217a9b4
commit
1f1c219d5c
1 changed files with 0 additions and 2 deletions
|
|
@ -739,8 +739,6 @@ gl_fbo_texture_init(GLenum internal_format,
|
|||
glBindTexture(GL_TEXTURE_2D, tex);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, internal_format, width, height, 0,
|
||||
format, type, NULL);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
glGenFramebuffers(1, &fb);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, fb);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue