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

AtlasEngine: Fix cursor invalidation for BackendD2D #15427

Merged

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented May 24, 2023

TIL: CreateCompatibleRenderTarget does not initialize the bitmap
it returns. You got to do that yourself just like in D3D.

Validation Steps Performed

  • Set ATLAS_DEBUG_FORCE_D2D_MODE to 1
  • Changing the cursor in the settings immediately updates it ✅

@zadjii-msft zadjii-msft added the AutoMerge Marked for automatic merge by the bot when requirements are met label May 25, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot enabled auto-merge (squash) May 25, 2023 18:21
@microsoft-github-policy-service microsoft-github-policy-service bot deleted the dev/lhecker/atlas-engine-fixup4 branch May 25, 2023 18:22
DHowett pushed a commit that referenced this pull request May 25, 2023
TIL: `CreateCompatibleRenderTarget` does not initialize the bitmap
it returns. You got to do that yourself just like in D3D.

## Validation Steps Performed
* Set `ATLAS_DEBUG_FORCE_D2D_MODE` to 1
* Changing the cursor in the settings immediately updates it ✅

(cherry picked from commit 7650ecf)
Service-Card-Id: 89323214
Service-Version: 1.18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-AtlasEngine AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-1 A description (P1) Product-Terminal The new Windows Terminal.
Projects
Development

Successfully merging this pull request may close these issues.

3 participants