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-27 09:06:33 +0300
committerMike Erwin <significant.bit@gmail.com>2017-03-27 09:06:33 +0300
commit7979bc4c5182341fd063907c4a60d92134aad7d5 (patch)
tree2c9c4e395395f2be7431f070a927c2e6ae41592b /source/blender/gpu/intern/gpu_matrix.c
parentebdff8c3b8b2d0c61c5419d2a71504fcc3cb5d5a (diff)
OpenGL: remove gpuMatrixBegin3D_legacy function
It helped during the transition, but we don't need this anymore. Evolution of T49450
Diffstat (limited to 'source/blender/gpu/intern/gpu_matrix.c')
-rw-r--r--source/blender/gpu/intern/gpu_matrix.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/gpu/intern/gpu_matrix.c b/source/blender/gpu/intern/gpu_matrix.c
index 064f31ed834..8f8754f612d 100644
--- a/source/blender/gpu/intern/gpu_matrix.c
+++ b/source/blender/gpu/intern/gpu_matrix.c
@@ -92,18 +92,6 @@ void gpuMatrixBegin3D(void)
unit_m4(Projection3D);
}
-#if SUPPORT_LEGACY_MATRIX
-void gpuMatrixBegin3D_legacy(void)
-{
- /* copy top matrix from each legacy stack into new fresh stack */
- state.mode = MATRIX_MODE_3D;
- state.top = 0;
- state.dirty = true;
- glGetFloatv(GL_MODELVIEW_MATRIX, (float*)ModelView3D);
- glGetFloatv(GL_PROJECTION_MATRIX, (float*)Projection3D);
-}
-#endif
-
void gpuMatrixEnd(void)
{
state.mode = MATRIX_MODE_INACTIVE;