schell / gelatin

A nice Haskell graphics API. There's always room for jello.
BSD 3-Clause "New" or "Revised" License
41 stars 4 forks source link

If size has a power of 2 width and height, generate mipmaps... #24

Open src-of-truth[bot] opened 6 years ago

src-of-truth[bot] commented 6 years ago

generateMipmap gl TEXTURE_2D texParameteri gl TEXTURE_2D TEXTURE_MIN_FILTER NEAREST_MIPMAP_NEAREST See gelatin-webgl/src/Gelatin/WebGL/Renderer.hs line 216