Skip to content

Commit

Permalink
Fix color key issue with format conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Sep 11, 2024
1 parent c2c3e5a commit 47ecdb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dllmain/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 7140
#define BUILD_NUMBER 7141
1 change: 1 addition & 0 deletions ddraw/IDirectDrawSurfaceX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6612,6 +6612,7 @@ HRESULT m_IDirectDrawSurfaceX::CopySurface(m_IDirectDrawSurfaceX* pSourceSurface
SrcBuffer += SrcLockRect.Pitch;
DestBuffer += DestPitch;
}
ColorKey = D3DFMT_R5G6B5_TO_X8R8G8B8(ColorKey);
}
else
{
Expand Down

0 comments on commit 47ecdb3

Please sign in to comment.