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:
authorClément Foucault <foucault.clem@gmail.com>2019-01-18 11:58:04 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-01-18 11:58:04 +0300
commita7b8538f4c8d77107f8c6be01cd9fcdb80acacb6 (patch)
tree27098ca3009b6e24373e0b112fd6b409883ebedd /source/blender/draw/intern/draw_debug.c
parent72b9ab5a2249468d8e8c663005e655307fc468f8 (diff)
DRW: Fix assert when using draw debug API
Diffstat (limited to 'source/blender/draw/intern/draw_debug.c')
-rw-r--r--source/blender/draw/intern/draw_debug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_debug.c b/source/blender/draw/intern/draw_debug.c
index 366da92cf50..e55cacb1d7d 100644
--- a/source/blender/draw/intern/draw_debug.c
+++ b/source/blender/draw/intern/draw_debug.c
@@ -211,7 +211,6 @@ static void drw_debug_draw_spheres(void)
GPUBatch *draw_batch = GPU_batch_create(GPU_PRIM_LINES, empty_sphere->verts[0], NULL);
GPU_batch_instbuf_set(draw_batch, inst_vbo, true);
GPU_batch_program_set_builtin(draw_batch, GPU_SHADER_INSTANCE_VARIYING_COLOR_VARIYING_SIZE);
- GPU_batch_uniform_1f(draw_batch, "alpha", 1.0f);
GPU_batch_draw(draw_batch);
GPU_batch_discard(draw_batch);