Skip to content
  • Fredrik Höglund's avatar
    Don't generate mipmaps in GLTexture::bind() · aefadfaa
    Fredrik Höglund authored
    This code is broken in a number of different ways; firstly by assuming
    that the mipmaps need to be regenerated when the texture filter has
    changed. Secondly by preventing mipmaps from being specified by other
    means.
    
    This commit removes the code from bind() and adds a generateMipmaps()
    method instead.
    aefadfaa