mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fixes ribbon row offset issues
This commit is contained in:
parent
c8bc6c7120
commit
61a8638d4c
@ -3077,7 +3077,7 @@ static void xmb_layout(xmb_handle_t *xmb)
|
||||
static void xmb_ribbon_set_vertex(float *ribbon_verts, unsigned idx, unsigned row, unsigned col)
|
||||
{
|
||||
ribbon_verts[idx++] = ((float)col) / (XMB_RIBBON_COLS-1) * 2.0f - 1.0f;
|
||||
ribbon_verts[idx++] = ((float)row) / XMB_RIBBON_ROWS * 2.0f - 1.0f;
|
||||
ribbon_verts[idx++] = ((float)row) / (XMB_RIBBON_ROWS-1) * 2.0f - 1.0f;
|
||||
}
|
||||
|
||||
static void xmb_init_ribbon(xmb_handle_t * xmb)
|
||||
|
Loading…
x
Reference in New Issue
Block a user