MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / glColor3i

Function glColor3i

engine/source/platformAndroid/AndroidGL2ES.cpp:441–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 glError = TEST_FOR_OPENGL_ERRORS
440}
441void glColor3i( GLint r, GLint g, GLint b )
442{
443 glColor4f( ((GLfloat)r) * INV_32767, ((GLfloat)g) * INV_32767, ((GLfloat)b) * INV_32767, 1.0f );
444 int glError;
445 glError = TEST_FOR_OPENGL_ERRORS
446}
447void glColor3ubv( const GLubyte *v )
448{
449 glColor4f( ((GLfloat)v[0]) * INV_255, ((GLfloat)v[1]) * INV_255, ((GLfloat)v[2]) * INV_255, 1.0f );

Callers 3

onRenderMethod · 0.50
onRenderMethod · 0.50
onRenderMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected