projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved tinygettext to tinygettext.googlecode.com
[supertux.git]
/
src
/
video
/
renderer.hpp
diff --git
a/src/video/renderer.hpp
b/src/video/renderer.hpp
index
777eefd
..
2839492
100644
(file)
--- a/
src/video/renderer.hpp
+++ b/
src/video/renderer.hpp
@@
-25,7
+25,7
@@
#include <memory>
#include <stdint.h>
#include <memory>
#include <stdint.h>
-
+#include <assert.h>
#include <SDL_video.h>
#include "glutil.hpp"
#include <SDL_video.h>
#include "glutil.hpp"
@@
-56,7
+56,7
@@
public:
virtual void resize(int w, int h) = 0;
virtual void apply_config() = 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_;
protected:
static Renderer* instance_;