Update to r9629: Use floats constants instead of ubytes to save on the conversion.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10046 4a71c877-e1ca-e34f-864e-861f7616d084
master
Safety0ff 2010-02-28 04:06:42 +00:00 committed by Git SVN Gateway
parent 3f4eef1b54
commit 9da488b14c
2 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@ void pie_TranslateTextureEnd(void)
void pie_Begin3DScene(void)
{
pie_SetTexturePage(TEXPAGE_FONT);
glColor3ub(0xFF,0xFF,0xFF); // Reset Color to white
glColor3f( 1.0f, 1.0f, 1.0f); // Reset Color to white
glDepthRange(0.1, 1);
glEnable(GL_CULL_FACE);
drawing_interface = false;

View File

@ -3315,7 +3315,7 @@ static void drawDroidSelections( void )
}
// Reset color to white so that features textures are rendered as expected
glColor3ub(0xFF,0xFF,0xFF);
glColor3f( 1.0f, 1.0f, 1.0f);
for(psFeature = apsFeatureLists[0]; psFeature; psFeature = psFeature->psNext)
{