mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
gfx_display_draw_keyboard - we don't need mymat and/or
gfx_display_rotate_z here
This commit is contained in:
parent
821bb86b37
commit
aeb07432cc
@ -1105,7 +1105,6 @@ void gfx_display_draw_keyboard(
|
||||
0.00, 0.00, 0.00, 0.85,
|
||||
0.00, 0.00, 0.00, 0.85,
|
||||
};
|
||||
math_matrix_4x4 mymat;
|
||||
|
||||
#ifdef HAVE_MIST
|
||||
if(steam_has_osk_open())
|
||||
@ -1132,13 +1131,6 @@ void gfx_display_draw_keyboard(
|
||||
if (ptr_width >= ptr_height)
|
||||
ptr_width = ptr_height;
|
||||
|
||||
if (!p_disp->dispctx->handles_transform)
|
||||
{
|
||||
float cosine = 1.0f; /* cos(rad) = cos(0) = 1.0f */
|
||||
float sine = 0.0f; /* sine(rad) = sine(0) = 0.0f */
|
||||
gfx_display_rotate_z(p_disp, &mymat, cosine, sine, userdata);
|
||||
}
|
||||
|
||||
for (i = 0; i < 44; i++)
|
||||
{
|
||||
int line_y = (i / 11) * video_height / 10.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user