From 2d9e8004222f385e6756becd38fb60db0cedcff7 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sun, 21 May 2023 17:51:17 +0100 Subject: [PATCH] Fixed doc comment --- voxygen/src/render/renderer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/voxygen/src/render/renderer.rs b/voxygen/src/render/renderer.rs index 93b5e10098..fe0738fe0d 100644 --- a/voxygen/src/render/renderer.rs +++ b/voxygen/src/render/renderer.rs @@ -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) -> Texture { Texture::new_dynamic(&self.device, &self.queue, dims.x, dims.y) }