Lines Matching refs:params
10 static void __handleMaterialData( GLenum face, GLenum pname, const GLfloat *params )
23 params_length = 4*sizeof( *params );
26 params_length = 3*sizeof( *params );
29 params_length = sizeof( *params );
41 WRITE_DATA( sizeof( int ) + 8, GLfloat, params[0] );
42 if (params_length > sizeof( *params ))
44 WRITE_DATA( sizeof( int ) + 12, GLfloat, params[1] );
45 WRITE_DATA( sizeof( int ) + 16, GLfloat, params[2] );
47 if (packet_length > 3*sizeof( *params ) )
49 WRITE_DATA( sizeof( int ) + 20, GLfloat, params[3] );
53 void PACK_APIENTRY crPackMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
56 __handleMaterialData( face, pname, params );
61 void PACK_APIENTRY crPackMaterialiv(GLenum face, GLenum pname, const GLint *params)
65 __handleMaterialData( face, pname, (const GLfloat *) params );