[Mammoth] Get rid of last uses of MappedMemoryRegion.

This commit is contained in:
Drew Galbraith 2023-11-19 20:48:23 -08:00
parent d41a565721
commit 344e84c313
6 changed files with 20 additions and 56 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <mammoth/memory_region.h>
#include <yellowstone/yellowstone.yunq.h>
class Framebuffer {
@ -12,5 +13,7 @@ class Framebuffer {
// FIXME: Implement Yunq copy or move so we
// don't have to store a reference here.
const FramebufferInfo& fb_info_;
OwnedMemoryRegion fb_memory_;
uint32_t* fb_;
};