summaryrefslogtreecommitdiff
path: root/source/dw/app.rs
blob: b71be857773ec639b59444e984afd3d5b42a9b53 (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
28
29
// Copyright 2023 Gabriel Jensen.

extern crate glfw;

use gl::types::{GLint, 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,
	uni:    GLint,
	win:    Window,
}

pub struct App {
}

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

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