Skip to content

Commit 68f96e8

Browse files
committed
[update] from_platform to be private.
1 parent af2f7f3 commit 68f96e8

File tree

1 file changed

+1
-1
lines changed
  • crates/lambda-rs/src/render

1 file changed

+1
-1
lines changed

crates/lambda-rs/src/render/gpu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub struct Gpu {
8989

9090
impl Gpu {
9191
/// Create a new high-level GPU from a platform GPU.
92-
pub(crate) fn from_platform(gpu: platform::gpu::Gpu) -> Self {
92+
fn from_platform(gpu: platform::gpu::Gpu) -> Self {
9393
let limits = GpuLimits::from_platform(gpu.limits());
9494
return Gpu { inner: gpu, limits };
9595
}

0 commit comments

Comments
 (0)