fix cast error, change cmake to c++ 20 for some uses, add headers to cmake for better vs project generation

This commit is contained in:
ykeara
2024-05-08 18:20:19 -05:00
parent 383f153c54
commit 44a05dfd57
2 changed files with 47 additions and 3 deletions
+1 -1
View File
@@ -548,7 +548,7 @@ void OverlayController::SetOverlayFromQRhiTexture( QRhiTexture& tex )
.m_nQueueFamilyIndex = vulkan_handles->gfxQueueIdx,
.m_nWidth = static_cast<uint32_t>( tex.pixelSize().width() ),
.m_nHeight = static_cast<uint32_t>( tex.pixelSize().height() ),
.m_nFormat = tex.format(),
.m_nFormat = static_cast<uint32_t>(tex.format()),
.m_nSampleCount = static_cast<uint32_t>( tex.sampleCount() ),
};
vrTex.handle = &vulkan;