diff --git a/GL/framebuffer.c b/GL/framebuffer.c index 70d58a1..1034c1a 100644 --- a/GL/framebuffer.c +++ b/GL/framebuffer.c @@ -248,6 +248,8 @@ void APIENTRY glGenerateMipmapEXT(GLenum target) { } } + tex->mipmap |= (1 << i); + prevWidth = thisWidth; prevHeight = thisHeight; }