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:
authorMike Erwin <significant.bit@gmail.com>2017-03-22 02:38:00 +0300
committerMike Erwin <significant.bit@gmail.com>2017-03-22 02:38:00 +0300
commitc2f3ec437800d78528f00900b56bcd73f38026d8 (patch)
tree9ab05d61d18af919db6584cede604805a5f08ada /source/blender/editors/space_view3d/space_view3d.c
parent78878a132f45e110f99c25bc3b96555e26ac534a (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.c5
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