[Bf-blender-cvs] [c2f3ec4378] blender2.8: OpenGL: convert one more matrix call

Mike Erwin noreply at git.blender.org
Wed Mar 22 00:38:51 CET 2017


Commit: c2f3ec437800d78528f00900b56bcd73f38026d8
Author: Mike Erwin
Date:   Tue Mar 21 19:38:00 2017 -0400
Branches: blender2.8
https://developer.blender.org/rBc2f3ec437800d78528f00900b56bcd73f38026d8

OpenGL: convert one more matrix call

Missed this earlier.
Part of T49450

===================================================================

M	source/blender/editors/space_view3d/space_view3d.c

===================================================================

diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index 37d300ca0a..62bcb77122 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




More information about the Bf-blender-cvs mailing list