add RenderBitmap routine to ROM

This commit is contained in:
scawful
2022-09-02 17:41:28 -05:00
parent 0c0a8a0cca
commit 2b345f8796
2 changed files with 5 additions and 1 deletions

View File

@@ -677,5 +677,9 @@ absl::Status ROM::SaveToFile() {
return absl::OkStatus();
}
void ROM::RenderBitmap(gfx::Bitmap* bitmap) const {
bitmap->CreateTexture(renderer_);
}
} // namespace app
} // namespace yaze