3 #include "predicate_backend.h"
10 unsigned get_gl_predicate(Predicate pred)
14 case NEVER: return GL_NEVER;
15 case ALWAYS: return GL_ALWAYS;
16 case LESS: return GL_LESS;
17 case LEQUAL: return GL_LEQUAL;
18 case EQUAL: return GL_EQUAL;
19 case GREATER: return GL_GREATER;
20 case GEQUAL: return GL_GEQUAL;
21 case NOTEQUAL: return GL_NOTEQUAL;
22 default: throw invalid_argument("get_gl_predicate");