summaryrefslogtreecommitdiffstats
path: root/tools/gfx/cpu/render-cpu.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-03-18 13:19:58 -0700
committerGitHub <noreply@github.com>2021-03-18 13:19:58 -0700
commit0f9b3a95a6cc087bc1e34d4becff04fa6160c582 (patch)
treea8b14958f13f53ee3918c727f4e5a06af377349c /tools/gfx/cpu/render-cpu.cpp
parent6e5d85efb9fa5f647f7f0c7ef784a9fd09b29023 (diff)
Remove `DescriptorSet` from D3D11 and GL devices. (#1761)
Diffstat (limited to 'tools/gfx/cpu/render-cpu.cpp')
-rw-r--r--tools/gfx/cpu/render-cpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/cpu/render-cpu.cpp b/tools/gfx/cpu/render-cpu.cpp
index 630ba2925..ab9224657 100644
--- a/tools/gfx/cpu/render-cpu.cpp
+++ b/tools/gfx/cpu/render-cpu.cpp
@@ -269,7 +269,7 @@ public:
totalDataSize += levelDataSize;
}
- void* textureData = malloc(totalDataSize);
+ void* textureData = malloc((size_t)totalDataSize);
m_data = textureData;
if( initData )