Switch from accepting an &[u8]
to exposing an &mut [u8]
#19
Labels
enhancement
New feature or request
&[u8]
to exposing an &mut [u8]
#19
This is from a hint provided by Ralith:
Two public API changes:
Pixels::render(&mut self, &[u8])
toPixels::render(&mut self)
Pixels::get_frame(&mut self) -> &mut [u8]
Using the new API will look like this:
The text was updated successfully, but these errors were encountered: