From 438fcccbbfc6140165c84515139215d5a37c4efa Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 9 Oct 2014 04:51:42 +0200 Subject: [PATCH] (XMB) Uniquely name global vertex and tex_coord --- frontend/menu/disp/xmb.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/menu/disp/xmb.c b/frontend/menu/disp/xmb.c index 6fc97d5022..fe2b078a60 100644 --- a/frontend/menu/disp/xmb.c +++ b/frontend/menu/disp/xmb.c @@ -122,14 +122,14 @@ typedef struct xmb_handle static xmb_handle_t *xmb_menu_data; -static const GLfloat vertex[] = { +static const GLfloat rmb_vertex[] = { 0, 0, 1, 0, 0, 1, 1, 1, }; -static const GLfloat tex_coord[] = { +static const GLfloat rmb_tex_coord[] = { 0, 1, 1, 1, 0, 0, @@ -173,9 +173,9 @@ static void xmb_draw_icon(GLuint texture, float x, float y, glViewport(x, gl->win_height - y, xmb->xmb_icon_size, xmb->xmb_icon_size); coords.vertices = 4; - coords.vertex = vertex; - coords.tex_coord = tex_coord; - coords.lut_tex_coord = tex_coord; + coords.vertex = rmb_vertex; + coords.tex_coord = rmb_tex_coord; + coords.lut_tex_coord = rmb_tex_coord; coords.color = color; glBindTexture(GL_TEXTURE_2D, texture);