On 2 Apr 2023, at 23:40, Mark Sibly <mark...@gmail.com> wrote:Hi,In glfw, I use glfwGetWindowSize to get swapchain size from glfw which actually just ends up just returning clientRect.right and clientRect.bottom, left and top are apparently ignored (news to me) Source code here:But one slightly surprising thing I've found while messing around with this is that I can't actually NOT draw to the entire client rect. If I create a swapchain of window width/2, height/2 or something, it just gets stretched to fill the entire client window area. Same in D3D12 and Vulkan.I do vaguely remember reading something about this though so I'm not too surprised, but then why isn't yours doing that? Perhaps some window HWND flags are different?It does also mean that my width/height could actually be off left / top too I guess, I just can't notice it because it's been stretched to fit the client area exactly - will do some more research...Bye!Mark
--
You received this message because you are subscribed to the Google Groups "Dawn Graphics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dawn-graphic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dawn-graphics/4c186fae-5106-4720-a484-6ab18f19f924n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dawn-graphics/BCB16DC7-21B1-42C0-B539-DA8EEADFAF43%40jean-colas.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Dawn Graphics" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dawn-graphics/0x4F4UScn90/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dawn-graphic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dawn-graphics/CAK32ozgWoiCOpKAQhuhK3te7Y2fVHjjD9tXeptHv2NZnCuEg_w%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Dawn Graphics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dawn-graphic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dawn-graphics/4c186fae-5106-4720-a484-6ab18f19f924n%40googlegroups.com.