mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix cram-soc impl for graphics
This commit is contained in:
parent
9a3a525314
commit
c7036c1309
1 changed files with 3 additions and 3 deletions
|
|
@ -182,13 +182,13 @@ fn wrapped_main(main_thread_token: backend::MainThreadToken) -> ! {
|
||||||
#[cfg(not(target_os = "xous"))]
|
#[cfg(not(target_os = "xous"))]
|
||||||
let sid = xns.register_name(api::SERVER_NAME_GFX, Some(1)).expect("can't register server");
|
let sid = xns.register_name(api::SERVER_NAME_GFX, Some(1)).expect("can't register server");
|
||||||
#[cfg(feature = "cramium-soc")]
|
#[cfg(feature = "cramium-soc")]
|
||||||
{
|
let sid = {
|
||||||
log::warn!(
|
log::warn!(
|
||||||
"Remember to notch the expected connections for graphics_server down to 1 after initial testing!"
|
"Remember to notch the expected connections for graphics_server down to 1 after initial testing!"
|
||||||
);
|
);
|
||||||
// 2 for now -- one for GAM, one for testing
|
// 2 for now -- one for GAM, one for testing
|
||||||
let sid = xns.register_name(api::SERVER_NAME_GFX, Some(2)).expect("can't register server");
|
xns.register_name(api::SERVER_NAME_GFX, Some(2)).expect("can't register server")
|
||||||
}
|
};
|
||||||
|
|
||||||
let screen_clip = Rectangle::new(Point::new(0, 0), display.screen_size());
|
let screen_clip = Rectangle::new(Point::new(0, 0), display.screen_size());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue