Searched refs:f_color (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Dstate_fog.c58 GLcolor f_color; local
71 f_color.r = ((GLfloat) param[0]) / ((GLfloat) CR_MAXINT);
72 f_color.g = ((GLfloat) param[1]) / ((GLfloat) CR_MAXINT);
73 f_color.b = ((GLfloat) param[2]) / ((GLfloat) CR_MAXINT);
74 f_color.a = ((GLfloat) param[3]) / ((GLfloat) CR_MAXINT);
75 crStateFogfv( pname, (GLfloat *) &f_color );
H A Dstate_lighting.c257 GLcolor f_color; local
270 f_color.r = ((GLfloat)param[0])/CR_MAXINT;
271 f_color.g = ((GLfloat)param[1])/CR_MAXINT;
272 f_color.b = ((GLfloat)param[2])/CR_MAXINT;
273 f_color.a = ((GLfloat)param[3])/CR_MAXINT;
274 crStateLightModelfv( pname, (GLfloat *) &f_color );
460 GLcolor f_color; local
468 f_color.r = ((GLfloat)param[0])/CR_MAXINT;
469 f_color.g = ((GLfloat)param[1])/CR_MAXINT;
470 f_color
708 GLcolor f_color; local
[all...]
H A Dstate_texture.c1408 GLcolor f_color; local
1443 f_color.r = ((GLfloat) param[0])/CR_MAXINT;
1444 f_color.g = ((GLfloat) param[1])/CR_MAXINT;
1445 f_color.b = ((GLfloat) param[2])/CR_MAXINT;
1446 f_color.a = ((GLfloat) param[3])/CR_MAXINT;
1447 crStateTexParameterfv( target, pname, (const GLfloat *) &(f_color) );
1721 GLcolor f_color; local
1729 f_color.r = ((GLfloat) param[0]) / CR_MAXINT;
1730 f_color.g = ((GLfloat) param[1]) / CR_MAXINT;
1731 f_color
[all...]

Completed in 716 milliseconds