Fix color endianness problems.

Remove operator== and != from POD types.

Scope the disabled warning better.
This commit is contained in:
Glenn Maynard
2002-11-11 20:36:39 +00:00
parent f8027f16c3
commit b13fe6e6b6
2 changed files with 43 additions and 22 deletions
+2 -2
View File
@@ -307,11 +307,11 @@ void BitmapText::DrawPrimitives()
DISPLAY->PushMatrix();
DISPLAY->TranslateLocal( m_fShadowLength, m_fShadowLength, 0 ); // shift by 5 units
DWORD dwColor = RageColor(0,0,0,0.5f*m_temp.diffuse[0].a); // semi-transparent black
RageColor dim(0,0,0,0.5f*m_temp.diffuse[0].a); // semi-transparent black
int i;
for( i=0; i<iNumV; i++ )
v[i].c = dwColor;
v[i].c = dim;
DISPLAY->DrawQuads( v, iNumV );
DISPLAY->PopMatrix();