Skip to content

Commit ed73dea

Browse files
author
Pavel Kovalenko
committed
Fix comparing values of different enum types in dxUIRender::StartPrimitive.
1 parent 6747a19 commit ed73dea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layers/xrRender/dxUIRender.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void dxUIRender::PushPoint(float x, float y, float z, u32 C, float u, float v)
200200
void dxUIRender::StartPrimitive(u32 iMaxVerts, ePrimitiveType primType, ePointType pointType)
201201
{
202202
VERIFY(PrimitiveType==ptNone);
203-
VERIFY(m_PointType==ptNone);
203+
VERIFY(m_PointType==pttNone);
204204
//. R_ASSERT(pointType==pttLIT);
205205

206206
m_iMaxVerts = iMaxVerts;

0 commit comments

Comments
 (0)