Skip to content

Fix Painter triangle state initialization - #90

Merged
Try merged 1 commit into
Try:masterfrom
tryk016:codex/pr-tempest-painter2d
Sep 1, 2026
Merged

Fix Painter triangle state initialization#90
Try merged 1 commit into
Try:masterfrom
tryk016:codex/pr-tempest-painter2d

Conversation

@tryk016

@tryk016 tryk016 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Painter::drawTriangle() currently emits triangle vertices without ensuring that the brush pipeline and triangle topology are active. This makes direct triangle drawing depend on the preceding Painter operation.

This change initializes the brush state in both drawTriangle() overloads, consistently with the other brush drawing paths.

Testing:

  • TempestTests on macOS: 174 passed
  • iPhoneOS arm64 Release build
  • iPhone Simulator arm64 Release build

@Try
Try merged commit 8032957 into Try:master Sep 1, 2026
@Try

Try commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Thanks, merged!

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.

2 participants