aboutsummaryrefslogtreecommitdiff
path: root/src/lua/graphics/Canvas.cpp
blob: c4918f04820cf46a00e0d01e4d09996179ccb955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "Canvas.h"

namespace jin
{
namespace lua
{
namespace graphics
{

    Canvas* Canvas::createCanvas(int w, int h)
    {
        Canvas* canvas = new Canvas();
        canvas->canvas = jin::graphics::Canvas::createCanvas(w, h);
        return canvas;
    }

    void Canvas::unbind()
    {
        jin::graphics::Canvas::unbind();
    }

}
}
}