work on layers
This commit is contained in:
@@ -16,9 +16,11 @@ namespace Archimedes {
|
||||
}
|
||||
}
|
||||
|
||||
void push(Layer* l) {
|
||||
lstack.push_front(l);
|
||||
l->onAttach();
|
||||
void push(Layer* l) {
|
||||
if(l) {
|
||||
lstack.push_front(l);
|
||||
l->onAttach();
|
||||
}
|
||||
}
|
||||
|
||||
void pop() {
|
||||
|
||||
Reference in New Issue
Block a user