diff options
Diffstat (limited to 'graphics/src/lib.rs')
| -rw-r--r-- | graphics/src/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index 2efcaed..d5a6cfe 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -23,15 +23,14 @@ pub type Result<T> = std::result::Result<T, crate::Error>; /// The `Window` type represents the game window #[derive(Debug)] pub struct Window { + // persistant renderer + renderer: Renderer, // core raylib handles handle: RefCell<RaylibHandle>, thread: RaylibThread, - // persistant renderer - renderer: Renderer, // audio data/subsystem audio: AudioData, } - impl Window { /// Instantiates a new window provided with the default /// window `width`, `height`, and `title`. |