summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/gfx/cuda/render-cuda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/cuda/render-cuda.cpp b/tools/gfx/cuda/render-cuda.cpp
index a0e0e8761..4b9f52a55 100644
--- a/tools/gfx/cuda/render-cuda.cpp
+++ b/tools/gfx/cuda/render-cuda.cpp
@@ -1567,7 +1567,7 @@ public:
}
case CU_AD_FORMAT_UNSIGNED_INT8:
{
- elementSize = sizeof(uint32_t) * numChannels;
+ elementSize = sizeof(uint8_t) * numChannels;
break;
}
default: