]> Chaos Git - corbenik/ctrulib.git/commit
Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays.
authorSubv <subv2112@gmail.com>
Sun, 23 Aug 2015 03:15:27 +0000 (22:15 -0500)
committerSubv <subv2112@gmail.com>
Sun, 23 Aug 2015 03:18:33 +0000 (22:18 -0500)
commitad3dd538dc0f997725048f100e93feb1a0a905e9
treed4478953817204f6d09e6304802deac5012746fe
parent24fd71c4add247454c41812c16f4c207e84acdf6
Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays.

It will set the index of the first vertex to draw, akin to the "first" parameter of glDrawArrays.
libctru/include/3ds/gpu/gpu.h
libctru/include/3ds/gpu/registers.h
libctru/source/gpu/gpu.c