triangle?

This commit is contained in:
2026-02-10 23:51:27 -06:00
parent 1f22a661cd
commit 0244f463c4
11 changed files with 83 additions and 49 deletions

View File

@@ -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;