void SERVER_DISPATCH_APIENTRY crServerDispatchMultMatrixf( const GLfloat *m )
{
    const GLenum matMode = cr_server.curClient->currentCtxInfo->pContext->transform.matrixMode;

    if (matMode == GL_PROJECTION && cr_server.projectionOverride) {
        /* load the overriding projection matrix */
        int eye = crServerGetCurrentEye();
        crStateLoadMatrix(&cr_server.StateTracker, &cr_server.projectionMatrix[eye] );
    }
    else {
        /* the usual case */
        crStateMultMatrixf(&cr_server.StateTracker, m );
        cr_server.head_spu->dispatch_table.MultMatrixf( m );
    }
}
Пример #2
0
void FEEDBACKSPU_APIENTRY feedbackspu_MultMatrixf( const GLfloat * m )
{
	crStateMultMatrixf( m );

	feedback_spu.super.MultMatrixf( m );
}