Commit 0ff442b9 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Identify CULL_FACE_FRONT and BACK

parent 4fb1d351
......@@ -46,8 +46,8 @@ enum mali_gl_mode {
MALI_GL_TRIANGLE_FAN = 0xC,
};
/* TODO: Where are the other values? Goes with gl_enables */
#define MALI_GL_CULL_FACE 0x80
#define MALI_GL_CULL_FACE_BACK 0x80
#define MALI_GL_CULL_FACE_FRONT 0x40
#define MALI_GL_FRONT_FACE(v) (v << 5)
#define MALI_GL_CCW (0)
......
......@@ -33,7 +33,8 @@
#define FLAG_INFO(flag) { MALI_GL_##flag, "MALI_GL_" #flag }
static const struct panwrap_flag_info gl_enable_flag_info[] = {
FLAG_INFO(CULL_FACE),
FLAG_INFO(CULL_FACE_FRONT),
FLAG_INFO(CULL_FACE_BACK),
{}
};
#undef FLAG_INFO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment