Blender Git Loki
Git Commits -> Revision 3f11be3
Revision 3f11be3 by Sergey Sharybin (master) April 19, 2017, 13:22 (GMT) |
Get rid of glMatrixMode calls With the explicit calls we don't need to worry about current state outside of the GPU module now. In fact. we don't need to worry about current matrix mode in core profile at all. Legacy OpenGL now has some code which ensures current matrix mode when using explicit calls to push/pop matrix. |
Commit Details:
Full Hash: 3f11be3f7de90517826cb114f648b06fc85b67d4
Parent Commit: 288892b
Lines Changed: +73, -26
6 Modified Paths:
/source/blender/editors/interface/interface.c (+0, -4) (Diff)
/source/blender/editors/space_node/drawnode.c (+0, -4) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+1, -13) (Diff)
/source/blender/gpu/GPU_matrix.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+70, -0) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+1, -5) (Diff)
/source/blender/editors/space_node/drawnode.c (+0, -4) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+1, -13) (Diff)
/source/blender/gpu/GPU_matrix.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_matrix.c (+70, -0) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+1, -5) (Diff)