]> Chaos Git - corbenik/ctrulib.git/commit
* add code for alphablending, color logic op, alpha test and multitexturing.
authorStapleButter <thetotalworm@gmail.com>
Thu, 23 Oct 2014 15:56:56 +0000 (17:56 +0200)
committerStapleButter <thetotalworm@gmail.com>
Thu, 23 Oct 2014 15:56:56 +0000 (17:56 +0200)
commitaf31a7c861e472ff9ef9e0def347a66aeb51a61e
treeaf07f466e09ff34e7ad1672d345fd840735e8b6e
parent1f413a7d4485b8e1d1a69d32c83aa703f2c17898
* add code for alphablending, color logic op, alpha test and multitexturing.
* add GPU_FinishDrawing() to be called after a batch of GPU_DrawArray() calls if you're done drawing or if you intend to change the GPU configuration before drawing more. Also fix GPU_Finalize(). With those changes, the GPU no longer freezes if you call GPU_DrawArray() an even number of times.
* fix GPU_SetViewport() to allow color buffer reading, so blending and logicop work as expected.
libctru/include/3ds/gpu/gpu.h
libctru/source/gpu/gpu.c