glium v0.5.0 Release Notes

Release Date: 2015-05-27 // almost 9 years ago
    • IndexBuffer now takes the type of indices as template parameter.
    • IndexBuffer now derefs to BufferView. Allows modifying the index buffer after it has been created.
    • Added IndexBufferAny.
    • Removed the ToIndicesSource and IntoIndexBuffer traits. The former is replaced with Into<IndicesSource>.
    • PixelBuffer now takes the type of pixels as template parameter.
    • Renamed PixelBuffer::read to PixelBuffer::read_as_texture_2d.
    • PixelBuffer now derefs to BufferView.
    • Added BufferView::read_as_texture_1d and BufferView::read_as_texture_1d_if_supported.
    • Reworked TextureDataSink traits to take a precise format.
    • Fixed a panic when destroying a buffer with persistent mapping.
    • Removed deprecated function VertexBuffer::new_dynamic.
    • It is now safe to call mem::forget on a Mapping object.