diff options
Diffstat (limited to 'src/libjin/render/canvas.h')
-rw-r--r-- | src/libjin/render/canvas.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/render/canvas.h b/src/libjin/render/canvas.h index 6f81ed6..e65c0c1 100644 --- a/src/libjin/render/canvas.h +++ b/src/libjin/render/canvas.h @@ -9,11 +9,9 @@ namespace render { public: - Canvas(); + Canvas(int w, int h); ~Canvas(); - bool init(int w, int h); - void bind(); static void unbind(); @@ -26,6 +24,8 @@ namespace render // current binded fbo static GLint cur; + + bool init(); }; } } |