[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

@@ -99,6 +99,8 @@ void gui::PlatformShutdown() {
ImGui_ImplOpenGL3_Shutdown();
}
void gui::PlatformFramebufferSizeChanged(int width, int height) {}
static inline GLenum GLPixelFormat(PixelFormat format) {
switch (format) {
case kPixelRGBA: