1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 10:24:12 +01:00

[dxvk] Pass clear value to clearRenderTarget by value

This commit is contained in:
Philip Rebohle 2019-05-14 21:19:56 +02:00
parent 8784ed673b
commit 3efec8960c
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 2 additions and 2 deletions

View File

@ -589,7 +589,7 @@ namespace dxvk {
void DxvkContext::clearRenderTarget(
const Rc<DxvkImageView>& imageView,
VkImageAspectFlags clearAspects,
const VkClearValue& clearValue) {
VkClearValue clearValue) {
this->updateFramebuffer();
// Prepare attachment ops

View File

@ -289,7 +289,7 @@ namespace dxvk {
void clearRenderTarget(
const Rc<DxvkImageView>& imageView,
VkImageAspectFlags clearAspects,
const VkClearValue& clearValue);
VkClearValue clearValue);
/**
* \brief Clears an image view