From f2f82b1c08a1209e5df381eb1a0ea132ceb2caaa Mon Sep 17 00:00:00 2001 From: James Benton Date: Tue, 19 Nov 2019 09:39:51 +0000 Subject: [PATCH] gx2: Fix data parameter type for GX2Set*UniformReg --- include/gx2/shaders.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gx2/shaders.h b/include/gx2/shaders.h index bbca84f..67a1e62 100644 --- a/include/gx2/shaders.h +++ b/include/gx2/shaders.h @@ -402,12 +402,12 @@ GX2SetGeometrySampler(GX2Sampler *sampler, void GX2SetVertexUniformReg(uint32_t offset, uint32_t count, - uint32_t *data); + const void *data); void GX2SetPixelUniformReg(uint32_t offset, uint32_t count, - uint32_t *data); + const void *data); void GX2SetVertexUniformBlock(uint32_t location,