Skip to content

Conversation

@revmischa
Copy link
Member

Adds option to skip the initial texture copy when transitioning to new presets.

When enabled via projectm_set_preset_start_clean(true), the previous
frame's texture is not drawn as the initial state for the new preset.
This provides a clean black canvas instead, which some applications may prefer.

Fixes #298

Adds projectm_set_preset_start_clean() and projectm_get_preset_start_clean()
functions to control whether new presets start with a black canvas or inherit
the previous preset's last frame.

Default behavior remains unchanged (copy previous frame), but applications
can now opt-in to clean starts by setting this flag to true.

Fixes #298
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.

[FEATURE] Add flag to C API to start newly loaded presets with a clean canvas if set

1 participant