diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-01-31 17:00:39 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-01-31 17:00:39 +0300 |
commit | 6a6f7547e3bf1920a010aaab7ebced83245db34e (patch) | |
tree | 870ea691a840e6f3bfe504eaffc49efd81de9b18 /source/blender | |
parent | 616182ea44f5035a83ec5466031ed19698351830 (diff) |
DRW: Finish 85d3de94c62fab1394c11fe50614c897f7f68ee3
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index c6905982b64..b9873ff3926 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -1782,7 +1782,7 @@ static void draw_geometry_prepare( GPU_shader_uniform_vector(shgroup->shader, interface->modelviewinverse, 16, 1, (float *)mvi); GPU_shader_uniform_vector(shgroup->shader, interface->normal, 9, 1, (float *)n); GPU_shader_uniform_vector(shgroup->shader, interface->worldnormal, 9, 1, (float *)wn); - GPU_shader_uniform_vector(shgroup->shader, interface->camtexfac, 4, 1, (float *)rv3d->viewcamtexcofac); + GPU_shader_uniform_vector(shgroup->shader, interface->camtexfac, 4, 1, (float *)viewcamtexcofac); GPU_shader_uniform_vector(shgroup->shader, interface->orcotexfac, 3, 2, (float *)orcofacs); GPU_shader_uniform_vector(shgroup->shader, interface->eye, 3, 1, (float *)eye); GPU_shader_uniform_vector(shgroup->shader, interface->clipplanes, 4, DST.num_clip_planes, (float *)DST.clip_planes_eq); |