From 3bf2039ed5bcacb122021c6c4b68310987be3c8b Mon Sep 17 00:00:00 2001 From: Lectem Date: Thu, 1 Jan 2015 20:41:38 +0100 Subject: [PATCH] missing GPU_SetAttributeBuffersAddress in header GPU_SetAttributeBuffersAddress is implemented in gpu.c but isn't present in the header, so we can't access it --- libctru/include/3ds/gpu/gpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libctru/include/3ds/gpu/gpu.h b/libctru/include/3ds/gpu/gpu.h index 5fd3071..413d6e4 100644 --- a/libctru/include/3ds/gpu/gpu.h +++ b/libctru/include/3ds/gpu/gpu.h @@ -211,6 +211,7 @@ void GPU_SetColorLogicOp(GPU_LOGICOP op); void GPU_SetBlendingColor(u8 r, u8 g, u8 b, u8 a); void GPU_SetAttributeBuffers(u8 totalAttributes, u32* baseAddress, u64 attributeFormats, u16 attributeMask, u64 attributePermutation, u8 numBuffers, u32 bufferOffsets[], u64 bufferPermutations[], u8 bufferNumAttributes[]); +void GPU_SetAttributeBuffersAddress(u32* baseAddress); void GPU_SetTextureEnable(GPU_TEXUNIT units); // GPU_TEXUNITx values can be ORed together to enable multiple texture units void GPU_SetTexture(GPU_TEXUNIT unit, u32* data, u16 width, u16 height, u32 param, GPU_TEXCOLOR colorType);