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:
parent
8784ed673b
commit
3efec8960c
@ -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
|
||||
|
@ -289,7 +289,7 @@ namespace dxvk {
|
||||
void clearRenderTarget(
|
||||
const Rc<DxvkImageView>& imageView,
|
||||
VkImageAspectFlags clearAspects,
|
||||
const VkClearValue& clearValue);
|
||||
VkClearValue clearValue);
|
||||
|
||||
/**
|
||||
* \brief Clears an image view
|
||||
|
Loading…
Reference in New Issue
Block a user