diff --git a/citro3d/src/render.rs b/citro3d/src/render.rs index 0a7a563..fc9b0eb 100644 --- a/citro3d/src/render.rs +++ b/citro3d/src/render.rs @@ -6,7 +6,7 @@ use std::cell::RefMut; use citro3d_sys::{ C3D_RenderTarget, C3D_RenderTargetCreate, C3D_RenderTargetDelete, C3D_DEPTHTYPE, }; -use ctru::gfx::Screen; +use ctru::services::gfx::Screen; use ctru::services::gspgpu::FramebufferFormat; use ctru_sys::{GPU_COLORBUF, GPU_DEPTHBUF}; @@ -44,7 +44,7 @@ impl<'screen> Target<'screen> { screen: RefMut<'screen, dyn Screen>, depth_format: Option, ) -> Result { - let color_format: ColorFormat = screen.get_framebuffer_format().into(); + let color_format: ColorFormat = screen.framebuffer_format().into(); let raw = unsafe { C3D_RenderTargetCreate(