Skip to content

Implement better pushContext()/popContext()#92

Open
AntonPetrov83 wants to merge 44 commits intoGamesRightMeow:mainfrom
AntonPetrov83:bugfix/fix-issue-64-contexts
Open

Implement better pushContext()/popContext()#92
AntonPetrov83 wants to merge 44 commits intoGamesRightMeow:mainfrom
AntonPetrov83:bugfix/fix-issue-64-contexts

Conversation

@AntonPetrov83
Copy link

@AntonPetrov83 AntonPetrov83 commented Feb 10, 2026

Resolves #64

This PR depends on graphics re-work of #91

It contains two commits starting with 88f28b0

What was done:

  1. Push context now stores all variables of the current graphics state.
  2. Pop context restores the state. Example avaialble here
  3. Made line width to be part of the graphics state.
  4. Removed all calls to updateContext()

Anton Petrov added 30 commits January 29, 2026 10:03
PD just skips invalid tiles.
@AntonPetrov83 AntonPetrov83 force-pushed the bugfix/fix-issue-64-contexts branch from 265b10a to ff52e5d Compare February 11, 2026 08:21
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.

Graphics contexts not working as expected

1 participant