remove gpuMatrixUpdate_legacy function
No longer needed since 231b5d96bb
tracks dirty state of legacy matrix stacks.
Part of T49450
This commit is contained in:
parent
54bed786a6
commit
bef63acbd6
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue