[wpigui] Handle Direct3D framebuffer resize

This commit is contained in:
Peter Johnson
2020-08-29 22:32:32 -07:00
parent 4cf6947af7
commit 183b7c85a1
5 changed files with 19 additions and 0 deletions

View File

@@ -107,6 +107,8 @@ void gui::PlatformShutdown() {
gPlatformValid = false;
}
void gui::PlatformFramebufferSizeChanged(int, int) {}
static inline MTLPixelFormat MetalPixelFormat(PixelFormat format) {
switch (format) {
case kPixelRGBA: