Skip to content

Fix confusing swap chain image count calculation - #471

Open
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/261-swapchain-image-count-doc
Open

Fix confusing swap chain image count calculation#471
gpx1000 wants to merge 1 commit into
KhronosGroup:mainfrom
gpx1000:fix/261-swapchain-image-count-doc

Conversation

@gpx1000

@gpx1000 gpx1000 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The prose walked through an imageCount = minImageCount + 1 example that didn't match what chooseSwapMinImageCount actually does (std::max(3u, ...)), and used a different variable name than the real function. Renames for consistency and rewrites the explanation to match the real logic.

Fixes #261.

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.

Calculation of swapchain image count is confusing

1 participant