Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with swapChainExtent changing - kotlin #995

Open
Hellwoodoo opened this issue Jul 20, 2024 · 0 comments
Open

Issue with swapChainExtent changing - kotlin #995

Hellwoodoo opened this issue Jul 20, 2024 · 0 comments

Comments

@Hellwoodoo
Copy link

Version

3.3.4

Platform

Windows x64

JDK

OpenJDK-21.0.2

Module

Vulkan

Bug description

Swapchain extent VkExtent2D seems to change in kotlin, whilst only ever creating it once. Log is shown at creation, and then at second query.

var swapChainExtent: VkExtent2D? = null

Stacktrace or crash log output

17:04:09.527 [DEBUG] - [org.engine.vulkan.Vulkan] - [main] - Swap Chain Extent:
17:04:09.527 [DEBUG] - [org.engine.vulkan.Vulkan] - [main] - width: 2560
17:04:09.527 [DEBUG] - [org.engine.vulkan.Vulkan] - [main] - height: 1057

when querying the same swap chain 

17:05:33.628 [DEBUG] - [org.engine.render.Render] - [main] - Swap Chain Extent:
17:05:33.628 [DEBUG] - [org.engine.render.Render] - [main] - width: 20
17:05:33.629 [DEBUG] - [org.engine.render.Render] - [main] - height: 0
@Hellwoodoo Hellwoodoo changed the title Issue with swapChainExtent changing Issue with swapChainExtent changing - kotlin Jul 20, 2024
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

No branches or pull requests

1 participant