From 827fc7b9832c87b26de2213a30c34fc28c6a489d Mon Sep 17 00:00:00 2001 From: Tamara Schmitz Date: Tue, 29 Aug 2023 01:07:57 +0200 Subject: [PATCH] update module and symbol names to match ctru-rs --- citro3d/src/render.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(