mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-19 02:47:49 +00:00
(menu_display_gl) Small cleanup
This commit is contained in:
parent
002ac5a344
commit
dc80e49509
@ -237,7 +237,8 @@ static bool menu_display_gl_font_init_first(
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void menu_display_gl_scissor_begin(video_frame_info_t *video_info, int x, int y,
|
static void menu_display_gl_scissor_begin(
|
||||||
|
video_frame_info_t *video_info, int x, int y,
|
||||||
unsigned width, unsigned height)
|
unsigned width, unsigned height)
|
||||||
{
|
{
|
||||||
glScissor(x, video_info->height - y - height, width, height);
|
glScissor(x, video_info->height - y - height, width, height);
|
||||||
|
@ -136,8 +136,6 @@ static void menu_display_gl_core_draw_pipeline(menu_display_ctx_draw_t *draw,
|
|||||||
|
|
||||||
if (draw->pipeline.id == VIDEO_SHADER_MENU_5)
|
if (draw->pipeline.id == VIDEO_SHADER_MENU_5)
|
||||||
yflip = 1.0f;
|
yflip = 1.0f;
|
||||||
else
|
|
||||||
yflip = 0.0f;
|
|
||||||
|
|
||||||
memcpy(ubo_scratch_data + sizeof(math_matrix_4x4)
|
memcpy(ubo_scratch_data + sizeof(math_matrix_4x4)
|
||||||
+ 2 * sizeof(float), &t, sizeof(t));
|
+ 2 * sizeof(float), &t, sizeof(t));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user