mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 22:38:34 +00:00
Cleanups
This commit is contained in:
parent
bc6e9ee3bf
commit
63c4b7c772
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user