Skip to content

Conversation

@kblaschke
Copy link
Member

Fixed getting the proper size form textures via SOIL2 as they've changed their loading function. Also added the proper primitive type for rendering Milkdrop user sprites.

Resolves #928

@kblaschke kblaschke added this to the 4.2 milestone Nov 11, 2025
@kblaschke kblaschke self-assigned this Nov 11, 2025
@kblaschke kblaschke added the bug The issue is (potentially) a bug. label Nov 11, 2025
The new combined function no longer returns the image size, so we need to load the image ourselves, store the size and then pass the buffer to SOIL_create_OGL_texture().
@kblaschke kblaschke force-pushed the fix-texture-size-and-sprites branch from 5f8a0e7 to 5158ecb Compare November 12, 2025 08:17
@kblaschke kblaschke merged commit 5158ecb into projectM-visualizer:master Nov 13, 2025
37 checks passed
@kblaschke kblaschke deleted the fix-texture-size-and-sprites branch November 13, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug The issue is (potentially) a bug.

Projects

Development

Successfully merging this pull request may close these issues.

[DEV BUG] Sprites not rendering

2 participants