aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
blob: bd0590e3a65211c62ff5fd8f43588dc2d14c8c59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
mod app;
mod bitmap;
mod consts;
mod undo;

use app::AppState;

pub fn main() {
    let sdl_context = sdl2::init().unwrap();
    let ttf_context = sdl2::ttf::init().unwrap();
    AppState::init(100, 100, &sdl_context, &ttf_context).run();
}