- void update(double t, double dt);
- void draw(double alpha);
- void dispatchEvent(const SDL_Event& event);
+ void update(dc::scalar t, dc::scalar dt);
+ void draw(dc::scalar alpha);
+ void handleEvent(const dc::event& e);
+
+ /**
+ * Set OpenGL to a state we can know and depend on.
+ */
+ void setupGL();
+ void contextRecreated(const dc::notification& note);