(RGL) Include cgGLSetMatrixParameterfc

This commit is contained in:
Twinaphex 2012-08-09 22:15:30 +02:00
parent 450b59262b
commit c45c49c5c2
2 changed files with 8 additions and 0 deletions

View File

@ -453,6 +453,8 @@ inline int _RGLGetProgramProfileIndex( CGprofile profile )
return -1;
}
CGGL_API void cgGLSetMatrixParameterfc( CGparameter param, const float *matrix );
#ifdef __cplusplus
}
#endif

View File

@ -8413,3 +8413,9 @@ unsigned int _RGLGetTypeColCount( CGtype parameterType )
int typeIndex = parameterType - 1 - CG_TYPE_START_ENUM;
return _typesColCount[typeIndex];
}
CGGL_API void cgGLSetMatrixParameterfc( CGparameter param, const float *matrix )
{
CgRuntimeParameter* ptr = _cgGetParamPtr( param );
ptr->settercIndex( ptr, matrix, CG_GETINDEX( param ) );
}