]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/root.h
Use a shader for rendering if available
[libs/gltk.git] / source / root.h
index b79bca367d3e22c51ca3c86ad61bf6683728337e..8e1bed9247e00bd2693bd9fe904ab16995591c9a 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <sigc++/trackable.h>
 #include <msp/gl/camera.h>
+#include <msp/gl/program.h>
 #include <msp/graphics/window.h>
 #include <msp/input/keyboard.h>
 #include <msp/input/mouse.h>
@@ -34,6 +35,7 @@ private:
        Time::TimeStamp tooltip_timeout;
        Widget *tooltip_target;
        Msp::GL::Camera camera;
+       Msp::GL::Program *shprog;
 
 public:
        /** Creates a Root widget for a window.  The geometry is set to match the