SFML community forums

Bindings - other languages => C => Topic started by: Baleine on December 22, 2022, 07:43:58 pm

Title: Default value for render states ?
Post by: Baleine on December 22, 2022, 07:43:58 pm
Hello, searching for how to properly initiate my sfRenderStates variable to have only a texture. I found this answer in this thread (https://en.sfml-dev.org/forums/index.php?topic=9767.0) from 2012:
I should probably add a sfRenderStates_default function/variable.
However, I couldn't find this constant. Is it still planned to be added ? It would be very useful.
Title: Re: Default value for render states ?
Post by: eXpl0it3r on December 30, 2022, 05:43:55 pm
sfRenderStates_default was never added, you'll just have to create a state with the default values as mentioned.