From 005e516b5e1e8bb22f2da8524ffe4529f3b60ba1 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 26 Apr 2022 19:20:38 -0300 Subject: Rename `get_information` to `fetch_information` --- graphics/src/window/compositor.rs | 2 +- graphics/src/window/gl_compositor.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/src/window') diff --git a/graphics/src/window/compositor.rs b/graphics/src/window/compositor.rs index 3f1165d4..7525de1d 100644 --- a/graphics/src/window/compositor.rs +++ b/graphics/src/window/compositor.rs @@ -41,7 +41,7 @@ pub trait Compositor: Sized { ); /// Returns [`GraphicsInformation`] used by this [`Compositor`]. - fn get_information(&self) -> Information; + fn fetch_information(&self) -> Information; /// Presents the [`Renderer`] primitives to the next frame of the given [`Surface`]. /// diff --git a/graphics/src/window/gl_compositor.rs b/graphics/src/window/gl_compositor.rs index 3adde8e6..4ff17366 100644 --- a/graphics/src/window/gl_compositor.rs +++ b/graphics/src/window/gl_compositor.rs @@ -52,7 +52,7 @@ pub trait GLCompositor: Sized { fn resize_viewport(&mut self, physical_size: Size); /// Returns [`GraphicsInformation`] used by this [`Compositor`]. - fn get_information(&self) -> Information; + fn fetch_information(&self) -> Information; /// Presents the primitives of the [`Renderer`] to the next frame of the /// [`GLCompositor`]. -- cgit