Blender Git Commit Log

Git Commits -> Revision c1dc078

Revision c1dc078 by Mike Erwin (master)
April 7, 2017, 20:00 (GMT)
Gawain: remove GL enum from vertex format API

Callers now have to use Gawain's COMP enum to specify vertex attributes.

This makes the API more bullet-proof (at least less vulnerable) since GLenum covers waaay more than component types.

Also prepares us for Vulkan.

Commit Details:

Full Hash: c1dc078840541bd64f95fdeca52267c75a061e04
Parent Commit: 1ad5287
Lines Changed: +37, -16

4 Modified Paths:

/intern/gawain/gawain/vertex_format.h (+9, -8) (Diff)
/intern/gawain/src/batch.c (+3, -3) (Diff)
/intern/gawain/src/immediate.c (+3, -3) (Diff)
/intern/gawain/src/vertex_format.c (+22, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021