Skip to content

Fix window resize crash#27

Open
gtong-nv wants to merge 1 commit into
CIS565-Fall-2022:mainfrom
gtong-nv:fix_window_resize
Open

Fix window resize crash#27
gtong-nv wants to merge 1 commit into
CIS565-Fall-2022:mainfrom
gtong-nv:fix_window_resize

Conversation

@gtong-nv
Copy link
Copy Markdown

Pass the width and height from resizeCallback to swapChain creation function directly, because glfwGetWindowSize() might not return the updated width and height before the swapchain update

Pass the width and height from resizeCallback to swapChain creation function directly, because glfwGetWindowSize() might not return the updated width and height before the swapchain update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants