SFML/examples/shader
Chris Thrasher 4315c3d290 Revert change to Drawable::draw function signature
This change was made in 359fe90 due to recommendations from tooling.
On its face this change makes sense since it removes a copy that
isn't always necessary. In practice it caused ergonomic issues due
to now being forced to make a copy of the render states when needed.

The performance gains of eliding this copy are unsubstantiated. We
have not done any profiling to measure its impact. For lack of such
measurements I'd rather err on the side of improved user experience.
If future benchmarks prove this copy is rather expensive then we
can reconsider removing it with that evidence in mind.
2024-04-18 13:18:49 +02:00
..
resources Fix misspellings 2023-05-21 14:37:46 -06:00
CMakeLists.txt Simplify how examples are built 2022-06-16 23:56:39 +02:00
Effect.hpp Revert change to Drawable::draw function signature 2024-04-18 13:18:49 +02:00
Shader.cpp Revert change to Drawable::draw function signature 2024-04-18 13:18:49 +02:00