gallium/radeon: fix saving multi-part command streams
Use the correct type to fix pointer arithmetic. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
8937ac9a13
commit
83c5d12d9d
|
@ -495,7 +495,7 @@ static void r600_flush_dma_ring(void *ctx, unsigned flags,
|
|||
void radeon_save_cs(struct radeon_winsys *ws, struct radeon_winsys_cs *cs,
|
||||
struct radeon_saved_cs *saved, bool get_buffer_list)
|
||||
{
|
||||
void *buf;
|
||||
uint32_t *buf;
|
||||
unsigned i;
|
||||
|
||||
/* Save the IB chunks. */
|
||||
|
|
Loading…
Reference in New Issue