remove gpuMatrixUpdate_legacy function

No longer needed since 231b5d96bb tracks dirty state of legacy matrix stacks.

Part of T49450
This commit is contained in:
Mike Erwin 2017-03-21 01:36:51 -04:00
parent 54bed786a6
commit bef63acbd6
2 changed files with 0 additions and 11 deletions

View File

@ -132,9 +132,6 @@ const float *gpuGetNormalMatrixInverse(float m[3][3]);
#if SUPPORT_LEGACY_MATRIX
/* copy top matrix from each legacy stack into new fresh stack */
void gpuMatrixBegin3D_legacy(void);
/* call after using glScale, glTranslate, etc. between draw calls */
void gpuMatrixUpdate_legacy(void);
#endif

View File

@ -809,11 +809,3 @@ bool gpuMatricesDirty(void)
{
return state.dirty;
}
#if SUPPORT_LEGACY_MATRIX
void gpuMatrixUpdate_legacy(void)
{
BLI_assert(state.mode == MATRIX_MODE_INACTIVE);
state.dirty = true;
}
#endif