Fixed doc comment

This commit is contained in:
Joshua Barretto 2023-05-21 17:51:17 +01:00
parent a634da2d07
commit 2d9e800422

View File

@ -1409,6 +1409,8 @@ impl Renderer {
}
/// Create a new dynamic texture with the specified dimensions.
///
/// Currently only supports Rgba8Srgb.
pub fn create_dynamic_texture(&mut self, dims: Vec2<u32>) -> Texture {
Texture::new_dynamic(&self.device, &self.queue, dims.x, dims.y)
}