summaryrefslogtreecommitdiff
path: root/source/dw/app.rs
blob: ffd44fb547382b1681bdd992f8edabd37b783895 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2023 Gabriel Jensen.

extern crate glfw;

use gl::types::GLuint;
use glfw::{Glfw, Window, WindowEvent};
use std::sync::atomic::AtomicBool;
use std::sync::mpsc::Receiver;

pub struct Gfx {
	evt:    Receiver<(f64, WindowEvent)>,
	glfw:   Glfw,
	shdprg: GLuint,
	win:    Window,
}

pub struct App {
}

static mut GOTINT: AtomicBool = AtomicBool::new(false);

pub mod getshdprg;
pub mod ini;
pub mod inigfx;
pub mod inisig;
pub mod lop;
pub mod new;