Change GRfloat instances to float

This commit is contained in:
twinaphex 2015-11-02 23:26:03 +01:00
parent c2f044d30f
commit 65670e08ff
2 changed files with 4 additions and 4 deletions

View File

@ -489,14 +489,14 @@ void menu_display_msg_queue_push(const char *msg, unsigned prio, unsigned durati
}
#ifdef HAVE_OPENGL
static const GRfloat gl_vertexes[] = {
static const float gl_vertexes[] = {
0, 0,
1, 0,
0, 1,
1, 1
};
static const GRfloat gl_tex_coords[] = {
static const float gl_tex_coords[] = {
0, 1,
1, 1,
0, 0,
@ -513,7 +513,7 @@ static math_matrix_4x4 *menu_display_get_default_mvp(void)
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];
}

View File

@ -132,7 +132,7 @@ void menu_display_clear_color(float r, float g, float b, float a);
#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,
float scale_x, float scale_y, float scale_z, bool scale_enable);