mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Change GRfloat instances to float
This commit is contained in:
parent
c2f044d30f
commit
65670e08ff
@ -489,14 +489,14 @@ void menu_display_msg_queue_push(const char *msg, unsigned prio, unsigned durati
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_OPENGL
|
#ifdef HAVE_OPENGL
|
||||||
static const GRfloat gl_vertexes[] = {
|
static const float gl_vertexes[] = {
|
||||||
0, 0,
|
0, 0,
|
||||||
1, 0,
|
1, 0,
|
||||||
0, 1,
|
0, 1,
|
||||||
1, 1
|
1, 1
|
||||||
};
|
};
|
||||||
|
|
||||||
static const GRfloat gl_tex_coords[] = {
|
static const float gl_tex_coords[] = {
|
||||||
0, 1,
|
0, 1,
|
||||||
1, 1,
|
1, 1,
|
||||||
0, 0,
|
0, 0,
|
||||||
@ -513,7 +513,7 @@ static math_matrix_4x4 *menu_display_get_default_mvp(void)
|
|||||||
return (math_matrix_4x4*)&gl->mvp_no_rot;
|
return (math_matrix_4x4*)&gl->mvp_no_rot;
|
||||||
}
|
}
|
||||||
|
|
||||||
const GRfloat *menu_display_get_tex_coords(void)
|
const float *menu_display_get_tex_coords(void)
|
||||||
{
|
{
|
||||||
return &gl_tex_coords[0];
|
return &gl_tex_coords[0];
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@ void menu_display_clear_color(float r, float g, float b, float a);
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const GRfloat *menu_display_get_tex_coords(void);
|
const float *menu_display_get_tex_coords(void);
|
||||||
|
|
||||||
void menu_display_matrix_4x4_rotate_z(void *data, float rotation,
|
void menu_display_matrix_4x4_rotate_z(void *data, float rotation,
|
||||||
float scale_x, float scale_y, float scale_z, bool scale_enable);
|
float scale_x, float scale_y, float scale_z, bool scale_enable);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user