This commit is contained in:
twinaphex 2016-02-25 19:52:40 +01:00
parent bc6e9ee3bf
commit 63c4b7c772
2 changed files with 4 additions and 4 deletions

View File

@ -57,9 +57,9 @@ static void *menu_display_gl_get_default_mvp(void)
}
static GLenum menu_display_prim_to_gl_enum(
enum menu_display_prim_type prim_type)
enum menu_display_prim_type type)
{
switch (prim_type)
switch (type)
{
case MENU_DISPLAY_PRIM_TRIANGLESTRIP:
return GL_TRIANGLE_STRIP;

View File

@ -54,9 +54,9 @@ static void *menu_display_vk_get_default_mvp(void)
}
static unsigned to_display_pipeline(
enum menu_display_prim_type prim_type, bool blend)
enum menu_display_prim_type type, bool blend)
{
return ((prim_type == MENU_DISPLAY_PRIM_TRIANGLESTRIP) << 1) | (blend << 0);
return ((type == MENU_DISPLAY_PRIM_TRIANGLESTRIP) << 1) | (blend << 0);
}
static void menu_display_vk_draw(void *data)