Skip to content

Commit 9ce95e8

Browse files
committed
Update enum usage
1 parent 7e97e81 commit 9ce95e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Client/mods/deathmatch/logic/CClientVectorGraphicDisplay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void CClientVectorGraphicDisplay::UpdateTexture()
6767
return;
6868

6969
// convert to BGRA unpremultiplied
70-
bitmap.convert(B, G, R, A, true);
70+
bitmap.convert(eColorIndex::B, eColorIndex::G, eColorIndex::R, eColorIndex::A, true);
7171

7272
// Lock surface
7373
D3DLOCKED_RECT LockedRect;

Client/mods/deathmatch/logic/CClientVectorGraphicDisplay.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CClientVectorGraphicDisplay final : public CClientDisplay
3535
void Update();
3636

3737
// Color indexes as per lunasvg::Bitmap
38-
static enum ColorIndex
38+
static enum eColorIndex : int
3939
{
4040
R = 0,
4141
G = 1,

0 commit comments

Comments
 (0)