diff --git a/src/glutils/glutils.cpp b/src/glutils/glutils.cpp index dc836bdc..b1024976 100644 --- a/src/glutils/glutils.cpp +++ b/src/glutils/glutils.cpp @@ -160,9 +160,8 @@ void resizeInitFrameBuffer(FrameBuffer &fb, int width, int height) noexcept { // color texture glBindTexture(GL_TEXTURE_2D, fb.color); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, nullptr); - glGenerateMipmap(GL_TEXTURE_2D); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR_MIPMAP_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); // depth texture glBindRenderbuffer(GL_RENDERBUFFER, fb.depth); glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, width, height);