Blender Git Loki

Git Commits -> Revision d5883bb

Revision d5883bb by Mike Erwin (master)
April 8, 2017, 05:19 (GMT)
Gawain: remove GL enum from primitive API

Callers now have to use Gawain's PRIM enum to specify geometric primitives.

This makes the API more bullet-proof (at least less vulnerable) since GLenum covers waaay more than GL_POINTS, GL_LINES, etc.

Also prepares us for Vulkan.

Commit Details:

Full Hash: d5883bb1ba6e4cfdd70bd3b8c0531a22c616b1be
Parent Commit: 0947c97
Lines Changed: +56, -25

5 Modified Paths:

/intern/gawain/gawain/batch.h (+1, -0) (Diff)
/intern/gawain/gawain/primitive.h (+13, -11) (Diff)
/intern/gawain/src/batch.c (+11, -12) (Diff)
/intern/gawain/src/immediate.c (+1, -1) (Diff)
/intern/gawain/src/primitive.c (+30, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021