From 00a3d9d5545da67263a347add5ec49065a126bc8 Mon Sep 17 00:00:00 2001 From: James Benton Date: Sun, 7 May 2017 01:37:41 +0100 Subject: [PATCH] Change GX2 shader program pointers to void*. --- include/gx2/shaders.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/gx2/shaders.h b/include/gx2/shaders.h index f553562..11598b4 100644 --- a/include/gx2/shaders.h +++ b/include/gx2/shaders.h @@ -36,7 +36,7 @@ struct GX2FetchShader } regs; uint32_t size; - uint8_t *program; + void *program; uint32_t attribCount; uint32_t numDivisors; uint32_t divisors[2]; @@ -137,7 +137,7 @@ struct GX2VertexShader } regs; uint32_t size; - uint8_t *program; + void *program; GX2ShaderMode mode; uint32_t uniformBlockCount; @@ -215,7 +215,7 @@ struct GX2PixelShader } regs; uint32_t size; - uint8_t *program; + void *program; GX2ShaderMode mode; uint32_t uniformBlockCount; @@ -278,9 +278,9 @@ struct GX2GeometryShader } regs; uint32_t size; - uint8_t *program; + void *program; uint32_t vertexProgramSize; - uint8_t *vertexProgram; + void *vertexProgram; GX2ShaderMode mode; uint32_t uniformBlockCount;