OpenGL: remove gpuMatrixBegin3D_legacy function
It helped during the transition, but we don't need this anymore. Evolution of T49450
This commit is contained in:
parent
ebdff8c3b8
commit
7979bc4c51
|
@ -131,12 +131,6 @@ const float *gpuGetNormalMatrix(float m[3][3]);
|
|||
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);
|
||||
#endif
|
||||
|
||||
|
||||
/* set uniform values for currently bound shader */
|
||||
void gpuBindMatrices(GLuint program);
|
||||
bool gpuMatricesDirty(void); /* since last bind */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue