From ece4e2874004bd7788244cb159e3ab1c4066b9b1 Mon Sep 17 00:00:00 2001 From: nmzik Date: Sun, 11 Oct 2026 01:25:47 +0200 Subject: [PATCH] gpu: store private format byte sizes in uint8_t --- src/graphics/guest_gpu/gpu_format.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graphics/guest_gpu/gpu_format.cpp b/src/graphics/guest_gpu/gpu_format.cpp index 8a89bdbe2..4413480ed 100644 --- a/src/graphics/guest_gpu/gpu_format.cpp +++ b/src/graphics/guest_gpu/gpu_format.cpp @@ -10,9 +10,9 @@ namespace { struct FormatInfo { BufferFormat format; - uint32_t bytes_per_element; - uint32_t block_compressed_bytes_per_block; - uint32_t render_target_bytes_per_element; + uint8_t bytes_per_element; + uint8_t block_compressed_bytes_per_block; + uint8_t render_target_bytes_per_element; bool sampled_texture; bool uint_texture; bool sint_texture = false;