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:
Diffstat (limited to 'source/blender/editors/space_view3d/space_view3d.c')
-rw-r--r--source/blender/editors/space_view3d/space_view3d.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index 4964c0054ac..26eebd16fba 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -50,8 +50,7 @@
#include "ED_screen.h"
#include "ED_object.h"
-#include "BIF_gl.h"
-
+#include "GPU_compatibility.h"
#include "WM_api.h"
#include "WM_types.h"
@@ -64,6 +63,8 @@
#include "view3d_intern.h" /* own include */
+#include "GPU_compatibility.h"
+
/* ******************** manage regions ********************* */
ARegion *view3d_has_buttons_region(ScrArea *sa)
@@ -236,7 +237,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);
+ gpuMultMatrix(ob->obmat);
}
/* ******************** default callbacks for view3d space ***************** */