Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/draw/intern/draw_command.hh')
-rw-r--r--source/blender/draw/intern/draw_command.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_command.hh b/source/blender/draw/intern/draw_command.hh
index bbbc63e4c9c..607f0b36583 100644
--- a/source/blender/draw/intern/draw_command.hh
+++ b/source/blender/draw/intern/draw_command.hh
@@ -332,7 +332,9 @@ struct Clear {
};
struct ClearMulti {
- Span<float4> colors;
+ /** \note This should be a Span<float4> but we need have to only have trivial types here. */
+ const float4 *colors;
+ int colors_len;
void execute() const;
std::string serialize() const;