Added LAST_ELEMENT_MARKER for every enum used in the C interface
This commit is contained in:
parent
b80a63a0ba
commit
0e65b31641
2 changed files with 15 additions and 2 deletions
|
|
@ -38,6 +38,8 @@
|
|||
#ifndef _VERSIONS_INCLUDED_
|
||||
#define _VERSIONS_INCLUDED_
|
||||
|
||||
#define LAST_ELEMENT_MARKER(x) x
|
||||
|
||||
//
|
||||
// Help manage multiple profiles, versions, extensions etc.
|
||||
//
|
||||
|
|
@ -54,7 +56,8 @@ typedef enum {
|
|||
ENoProfile = (1 << 0), // only for desktop, before profiles showed up
|
||||
ECoreProfile = (1 << 1),
|
||||
ECompatibilityProfile = (1 << 2),
|
||||
EEsProfile = (1 << 3)
|
||||
EEsProfile = (1 << 3),
|
||||
LAST_ELEMENT_MARKER(EProfileCount),
|
||||
} EProfile;
|
||||
|
||||
namespace glslang {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue