mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +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(
|
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:
|
case MENU_DISPLAY_PRIM_TRIANGLESTRIP:
|
||||||
return GL_TRIANGLE_STRIP;
|
return GL_TRIANGLE_STRIP;
|
||||||
|
@ -54,9 +54,9 @@ static void *menu_display_vk_get_default_mvp(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static unsigned to_display_pipeline(
|
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)
|
static void menu_display_vk_draw(void *data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user