Skip to content

Conversation

kblaschke
Copy link
Member

GLSL requires an explicit int argument for the array subscript operator, so we just cast anythin passed here to int.

Fixes a few presets such as martin - nivush - emergency power supply only.milk.

@kblaschke kblaschke added this to the 4.2 milestone Sep 11, 2025
@kblaschke kblaschke self-assigned this Sep 11, 2025
@kblaschke kblaschke added the enhancement The feature is considered an enhancement. label Sep 11, 2025
@kblaschke kblaschke merged commit b3e7e8c into master Sep 29, 2025
18 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in libprojectM Release 4.2 Sep 29, 2025
@kblaschke kblaschke deleted the fix-hlsl-array-subscript-op-type branch September 29, 2025 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement The feature is considered an enhancement.

Projects

Development

Successfully merging this pull request may close these issues.

3 participants