Move PlatformContext to the raidillon_platform crate

This commit is contained in:
reo 2025-09-22 19:45:30 +03:00
parent 9905ffd26b
commit 369bbd19c7
8 changed files with 15 additions and 16 deletions

View file

@ -2,7 +2,7 @@ use raidillon_assets::ModelManager;
use raidillon_core::engine::EngineTrait;
use crate::PlatformContext;
pub trait Platform<E: EngineTrait> {
pub trait Platform<E: EngineTrait<PlatformCtx = PlatformContext>> {
/// Initialize platform.
fn initialize(engine: E, title: String, width: u32, height: u32) -> Self;
fn run(self);