summaryrefslogblamecommitdiff
path: root/source/dw/app.rs
blob: b71be857773ec639b59444e984afd3d5b42a9b53 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                 
                               
                                      
                                  


                              
                                             

                       
                      
                       




                


                                                       
            

               
               
            
            
// 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;