Skip to content

[DRAFT] Magma + new GL implementation v2#825

Draft
snacchus wants to merge 274 commits intoDragonMinded:previewfrom
snacchus:magma-GL-dmem
Draft

[DRAFT] Magma + new GL implementation v2#825
snacchus wants to merge 274 commits intoDragonMinded:previewfrom
snacchus:magma-GL-dmem

Conversation

@snacchus
Copy link
Contributor

@snacchus snacchus commented Feb 9, 2026

This is a draft PR to get an overview of the changes for the following:

  • Magma, a new native 3D rendering API
  • Re-write of OpenGL on top of magma
  • Overhaul of model64

Compared to the previous attempt, this implementation supports display lists.

There was an edge case in which it was impossible to insert more items
without triggering an assertion.
When the hashtable was initialised with capacity 4 and 4 items were
inserted, then one item removed, 3 entries were now occupied and the
last one contained a tombstone marker.
When inserting another item, the loop in hashtable_lookup_slot ended on
the tombstone and triggered the assert afterwards.
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.

1 participant