fix: forgor to allocate gpu memory

This commit is contained in:
2025-01-07 13:52:50 +01:00
parent 04defb563f
commit d5a426e0c5
4 changed files with 9 additions and 6 deletions

View File

@@ -168,7 +168,7 @@ void Raycaster::resize(int w, int h) {
this->w = w;
this->h = h;
delete fb;
delete this->fb;
this->fb = new FrameBuffer(w, h);
// TODO: should be globals probably