Skip to content

Commit

Permalink
Update enum usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Oct 27, 2024
1 parent 7e97e81 commit 9ce95e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void CClientVectorGraphicDisplay::UpdateTexture()
return;

// convert to BGRA unpremultiplied
bitmap.convert(B, G, R, A, true);
bitmap.convert(eColorIndex::B, eColorIndex::G, eColorIndex::R, eColorIndex::A, true);

// Lock surface
D3DLOCKED_RECT LockedRect;
Expand Down
2 changes: 1 addition & 1 deletion Client/mods/deathmatch/logic/CClientVectorGraphicDisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CClientVectorGraphicDisplay final : public CClientDisplay
void Update();

// Color indexes as per lunasvg::Bitmap
static enum ColorIndex
static enum eColorIndex : int
{
R = 0,
G = 1,
Expand Down

0 comments on commit 9ce95e8

Please sign in to comment.