]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/beatcounter.h
Use an OpenGL 3.2 core context unless requested otherwise
[libs/demoscene.git] / source / beatcounter.h
index 2a12e520e9ed29a90950eec81a35bd030d8f081b..ed0dd27609cfe1c071e24f035e8958d75c96565c 100644 (file)
@@ -8,6 +8,9 @@
 #include "resources.h"
 #include "action.h"
 
+namespace Msp {
+namespace DemoScene {
+
 class BeatCounter: public Msp::GL::Renderable, public Action
 {
 private:
@@ -17,11 +20,15 @@ private:
 public:
        BeatCounter(Resources &);
 
-       virtual void validate() const { }
+       void set_matrix(const Msp::GL::Matrix &);
 
+       virtual void validate() const { }
        virtual void beat(int);
 
        virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
 };
 
+} // namespace DemoScene
+} // namespace Msp
+
 #endif