work on layers
This commit is contained in:
@@ -9,7 +9,6 @@ namespace Archimedes {
|
||||
|
||||
public:
|
||||
int w, h;
|
||||
typedef void renderCmd();
|
||||
|
||||
~Renderer() {}
|
||||
|
||||
@@ -19,12 +18,12 @@ namespace Archimedes {
|
||||
r.render(rc, w, h);
|
||||
}
|
||||
|
||||
std::list<renderCmd*>& getCmdList() {
|
||||
std::list<std::function<void()>>& getCmdList() {
|
||||
return rc;
|
||||
}
|
||||
|
||||
private:
|
||||
std::list<renderCmd*> rc;
|
||||
std::list<std::function<void()>> rc;
|
||||
RendererImpl r;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user