Skip to content

Release terrain and shadow shader objects after linking - #96

Merged
relh merged 4 commits into
mainfrom
release-linked-terrain-shaders
Oct 6, 2026
Merged

relh merged 4 commits into
mainfrom
release-linked-terrain-shaders

Conversation

@relh

@relh relh commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Detach and delete compiled vertex and fragment shaders after linking the terrain and shadow programs. The linked programs retain their executable code and link diagnostics.

Validation: both builders passed a temporary Mesa software-OpenGL check: three successful links each, zero attached shaders, exact red-pixel rendering, program deletion, and no GL errors. The proposed diff contains only the two shader-lifetime fixes.

@relh
relh marked this pull request as draft October 5, 2026 02:00
…proof

Co-authored-by: Codex GPT-6 <noreply@openai.com>
@relh
relh marked this pull request as ready for review October 5, 2026 20:54
@relh
relh merged commit 8ebac23 into main Oct 6, 2026
4 checks passed
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