summaryrefslogtreecommitdiffstats
path: root/tools/gfx/cpu/render-cpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/cpu/render-cpu.cpp')
-rw-r--r--tools/gfx/cpu/render-cpu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gfx/cpu/render-cpu.cpp b/tools/gfx/cpu/render-cpu.cpp
index af1fcc65a..56804f15e 100644
--- a/tools/gfx/cpu/render-cpu.cpp
+++ b/tools/gfx/cpu/render-cpu.cpp
@@ -379,12 +379,12 @@ public:
protected:
CPUResourceView(Kind kind, Desc const& desc)
: m_kind(kind)
- , m_desc(desc)
- {}
+ {
+ m_desc = desc;
+ }
private:
Kind m_kind;
- Desc m_desc;
};
class CPUBufferView : public CPUResourceView