diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-22 02:38:00 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-22 02:38:00 +0300 |
commit | c2f3ec437800d78528f00900b56bcd73f38026d8 (patch) | |
tree | 9ab05d61d18af919db6584cede604805a5f08ada /source/blender/editors/space_view3d/space_view3d.c | |
parent | 78878a132f45e110f99c25bc3b96555e26ac534a (diff) |
OpenGL: convert one more matrix call
Missed this earlier.
Part of T49450
Diffstat (limited to 'source/blender/editors/space_view3d/space_view3d.c')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index 37d300ca0a7..62bcb771226 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -59,8 +59,7 @@ #include "GPU_framebuffer.h" #include "GPU_material.h" #include "GPU_viewport.h" - -#include "BIF_gl.h" +#include "GPU_matrix.h" #include "WM_api.h" #include "WM_types.h" @@ -252,7 +251,7 @@ void ED_view3d_init_mats_rv3d_gl(struct Object *ob, struct RegionView3D *rv3d) /* we have to multiply instead of loading viewmatob to make * it work with duplis using displists, otherwise it will * override the dupli-matrix */ - glMultMatrixf(ob->obmat); + gpuMultMatrix3D(ob->obmat); } #ifdef DEBUG |