Skip to content

fix(texture_gl): don't require GL 4.2 in mip level allocation#191

Merged
wjakob merged 2 commits intomitsuba-renderer:masterfrom
Tom94:tev-upstreaming
Feb 22, 2026
Merged

fix(texture_gl): don't require GL 4.2 in mip level allocation#191
wjakob merged 2 commits intomitsuba-renderer:masterfrom
Tom94:tev-upstreaming

Conversation

@Tom94
Copy link
Copy Markdown
Contributor

@Tom94 Tom94 commented Feb 21, 2026

Sorry, my previous PR introduced the usage of glTexStorage2D for mip level pre-allocation which isn't available below OpenGL 4.2. This PR uses glTexImage2D instead -- verified bringing the same performance benefit. And as a by-product also supports GLES 2.

@Tom94 Tom94 changed the title fix(texture_gl): GL 4.2 requirement in mip level allocation fix(texture_gl): don't require GL 4.2 in mip level allocation Feb 21, 2026
@wjakob wjakob merged commit ca438c3 into mitsuba-renderer:master Feb 22, 2026
6 checks passed
@wjakob
Copy link
Copy Markdown
Member

wjakob commented Feb 22, 2026

Thanks!

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