X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Frenderer.hpp;h=2839492ea85979b06f78eb4e7ffb1569999acab7;hb=4f423b9bbb6fa694b8c6bcc338e069aad45db3e3;hp=7d3868aa85613c89f2c52aa4b07ca0f3df25d005;hpb=403276e51afda11d0738be756025411d9103a6ed;p=supertux.git diff --git a/src/video/renderer.hpp b/src/video/renderer.hpp index 7d3868aa8..2839492ea 100644 --- a/src/video/renderer.hpp +++ b/src/video/renderer.hpp @@ -25,7 +25,7 @@ #include #include - +#include #include #include "glutil.hpp" @@ -54,8 +54,9 @@ public: virtual void do_take_screenshot() = 0; virtual void flip() = 0; virtual void resize(int w, int h) = 0; + virtual void apply_config() = 0; - static Renderer* instance() { return instance_; } + static Renderer* instance() { assert(instance_); return instance_; } protected: static Renderer* instance_;