diff options
Diffstat (limited to 'source/dw/app.rs')
-rw-r--r-- | source/dw/app.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/dw/app.rs b/source/dw/app.rs index 3fbc61f..b71be85 100644 --- a/source/dw/app.rs +++ b/source/dw/app.rs @@ -2,7 +2,7 @@ extern crate glfw; -use gl::types::GLuint; +use gl::types::{GLint, GLuint}; use glfw::{Glfw, Window, WindowEvent}; use std::sync::atomic::AtomicBool; use std::sync::mpsc::Receiver; @@ -11,6 +11,7 @@ pub struct Gfx { evt: Receiver<(f64, WindowEvent)>, glfw: Glfw, shdprg: GLuint, + uni: GLint, win: Window, } |