early-access version 2853
This commit is contained in:
22
externals/vcpkg/ports/directxtex/enable_openexr_support.patch
vendored
Executable file
22
externals/vcpkg/ports/directxtex/enable_openexr_support.patch
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
diff --git a/DirectXTexEXR.cpp b/DirectXTexEXR.cpp
|
||||
index 17bd171..825cfe4 100644
|
||||
--- a/DirectXTex/DirectXTexEXR.cpp
|
||||
+++ b/DirectXTex/DirectXTexEXR.cpp
|
||||
@@ -8,7 +8,7 @@
|
||||
//--------------------------------------------------------------------------------------
|
||||
|
||||
//Uncomment if you add DirectXTexEXR to your copy of the DirectXTex library
|
||||
-//#include "DirectXTexP.h"
|
||||
+#include "DirectXTexP.h"
|
||||
|
||||
#include "DirectXTexEXR.h"
|
||||
|
||||
@@ -57,7 +57,7 @@ using namespace DirectX;
|
||||
using PackedVector::XMHALF4;
|
||||
|
||||
// Comment out this first anonymous namespace if you add the include of DirectXTexP.h above
|
||||
-#ifdef WIN32
|
||||
+#if 0
|
||||
namespace
|
||||
{
|
||||
struct handle_closer { void operator()(HANDLE h) noexcept { assert(h != INVALID_HANDLE_VALUE); if (h) CloseHandle(h); } };
|
Reference in New Issue
Block a user