Skip to content

Commit

Permalink
Fix comparing values of different enum types in dxUIRender::StartPrim…
Browse files Browse the repository at this point in the history
…itive.
  • Loading branch information
Pavel Kovalenko committed Oct 9, 2014
1 parent 6747a19 commit ed73dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/dxUIRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void dxUIRender::PushPoint(float x, float y, float z, u32 C, float u, float v)
void dxUIRender::StartPrimitive(u32 iMaxVerts, ePrimitiveType primType, ePointType pointType)
{
VERIFY(PrimitiveType==ptNone);
VERIFY(m_PointType==ptNone);
VERIFY(m_PointType==pttNone);
//. R_ASSERT(pointType==pttLIT);

m_iMaxVerts = iMaxVerts;
Expand Down

0 comments on commit ed73dea

Please sign in to comment.