diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-30 10:45:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-30 10:45:02 +0300 |
commit | 02c77e4e5c953202aaac0fb5ab673b6da293a257 (patch) | |
tree | 8037d18fe364caf1b28a8fab7d272b56b45e8a7c /source/blender/gpu/GPU_immediate_util.h | |
parent | 070bf01d37374d643cb168ceea4ea4aa2b1500e7 (diff) |
Fix animation player checkerboard drawing with alpha channels
Was using uninitialized theme values.
Diffstat (limited to 'source/blender/gpu/GPU_immediate_util.h')
-rw-r--r-- | source/blender/gpu/GPU_immediate_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_immediate_util.h b/source/blender/gpu/GPU_immediate_util.h index 1cf6475408f..47b44b59461 100644 --- a/source/blender/gpu/GPU_immediate_util.h +++ b/source/blender/gpu/GPU_immediate_util.h @@ -70,6 +70,13 @@ void imm_draw_disk_partial_fill_2d(uint pos, void imm_draw_box_wire_2d(uint pos, float x1, float y1, float x2, float y2); void imm_draw_box_wire_3d(uint pos, float x1, float y1, float x2, float y2); +void imm_draw_box_checker_2d_ex(float x1, + float y1, + float x2, + float y2, + const float color_primary[4], + const float color_secondary[4], + int checker_size); void imm_draw_box_checker_2d(float x1, float y1, float x2, float y2); void imm_draw_cube_fill_3d(uint pos, const float co[3], const float aspect[3]); |