Skip to content

Commit

Permalink
[CKPE]
Browse files Browse the repository at this point in the history
- Remove compression texture BC5 via GPU;
  • Loading branch information
Perchik71 committed Jan 13, 2025
1 parent 53c8c3c commit 88828d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Creation Kit Platform Extended Core/Patches/FaceGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ namespace CreationKitPlatformExtended
}
else if (Flag == BC5_UNORM)
{
if (pointer_d3d11DeviceIntf)
/*if (pointer_d3d11DeviceIntf)
hr = DirectX::Compress(pointer_d3d11DeviceIntf, image->GetImages(), image->GetImageCount(), image->GetMetadata(),
DXGI_FORMAT_BC5_UNORM, DirectX::TEX_COMPRESS_DEFAULT, DirectX::TEX_ALPHA_WEIGHT_DEFAULT, bcImage);
else
else*/
hr = DirectX::Compress(image->GetImages(), image->GetImageCount(), image->GetMetadata(),
DXGI_FORMAT_BC5_UNORM, DirectX::TEX_COMPRESS_DEFAULT, DirectX::TEX_ALPHA_WEIGHT_DEFAULT, bcImage);
}
Expand Down
Binary file modified Creation Kit Platform Extended Core/Version/build_version.txt
Binary file not shown.
Binary file modified Creation Kit Platform Extended Core/Version/resource_version2.h
Binary file not shown.

0 comments on commit 88828d5

Please sign in to comment.