triangle?
This commit is contained in:
@@ -18,10 +18,10 @@ namespace Archimedes {
|
||||
|
||||
void doFrame() {
|
||||
|
||||
renderer->render();
|
||||
|
||||
swapBuffers();
|
||||
|
||||
renderer->render();
|
||||
|
||||
pollEvents();
|
||||
|
||||
}
|
||||
@@ -32,6 +32,8 @@ namespace Archimedes {
|
||||
|
||||
virtual void pollEvents() = 0;
|
||||
|
||||
virtual void restoreContext() = 0;
|
||||
|
||||
virtual void getSize(int& w, int& h) {
|
||||
w = this->w;
|
||||
h = this->h;
|
||||
|
||||
Reference in New Issue
Block a user