Skip to content

Commit

Permalink
[d3d11] Explicitly convert DxvkExt to bool in D3D11DeviceFeatures
Browse files Browse the repository at this point in the history
When assigning to a BOOL (which is an uint in disguise) and using explicit
bool conversion operators (introduced in a latter commit) an explicit cast
is required.
  • Loading branch information
ishitatsuyuki authored and doitsujin committed Jan 27, 2024
1 parent 799aeff commit afc6aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d11/d3d11_features.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ namespace dxvk {
m_gpuVirtualAddress.MaxGPUVirtualAddressBitsPerProcess = 40;

// Marker support only depends on the debug utils extension
m_marker.Profile = Instance->extensions().extDebugUtils;
m_marker.Profile = static_cast<bool>(Instance->extensions().extDebugUtils);

// DXVK will keep all shaders in memory once created, and all Vulkan
// drivers that we know of that can run DXVK have an on-disk cache.
Expand Down

0 comments on commit afc6aa7

Please sign in to comment.