[graphics] small improvements (#1351)

* faster texture upload lookup

* fix debug menu

* cleanup

* one more
This commit is contained in:
water111
2022-05-02 21:26:17 -04:00
committed by GitHub
parent 4d634cf50d
commit e8911758f0
16 changed files with 316 additions and 102 deletions
@@ -23,6 +23,7 @@ void TextureUploadHandler::render(DmaFollower& dma,
// note: these uploads may have texture that we need for eye rendering.
flush_uploads(uploads, render_state);
render_state->eye_renderer->handle_eye_dma2(dma, render_state, prof);
uploads.clear();
}
auto data = dma.read_and_advance();