Skip to content

Commit

Permalink
Add Blt support for D3DFMT_UYVY
Browse files Browse the repository at this point in the history
  • Loading branch information
elishacloud committed Sep 10, 2024
1 parent eb3afbb commit 980a3dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dllmain/BuildNo.rc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD_NUMBER 7130
#define BUILD_NUMBER 7131
2 changes: 1 addition & 1 deletion ddraw/IDirectDrawSurfaceX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6374,7 +6374,7 @@ HRESULT m_IDirectDrawSurfaceX::CopySurface(m_IDirectDrawSurfaceX* pSourceSurface
}

// Decode DirectX texture
if (ISDXTEX(SrcFormat))
if (ISDXTEX(SrcFormat) || SrcFormat == D3DFMT_UYVY)
{
if (IsColorKey)
{
Expand Down

0 comments on commit 980a3dc

Please sign in to comment.