Skip to content

Conversation

@blueskythlikesclouds
Copy link
Contributor

Fixes #104457.

FillRect does not work when using DirectComposition swap chains. We can at least fix it for opaque windows by using traditional HWND swap chains when window transparency is disabled.

FillRect not working for transparent windows is a separate problem to handle for the future.

Copy link
Member

@bruvzg bruvzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working as expected, DComp was added specifically for transparency support, so it should be fine to use it only in this case.

@Repiteo Repiteo merged commit f3c3040 into godotengine:master Nov 4, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 4, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Direct3D 12: Window starts with transparent background instead of black

5 participants