summaryrefslogtreecommitdiff
path: root/source/dw/app.rs
blob: 3fbc61fdd49c41c4b7ff06b094d8e9f6d3cfe0b4 (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
// 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 end;
pub mod ini;
pub mod inigfx;
pub mod inisig;
pub mod lop;
pub mod new;