Fix CXX_BUILD.

This commit is contained in:
Themaister 2014-06-08 14:06:02 +02:00
parent a78d8ed4d5
commit ddbe5f148d
2 changed files with 4 additions and 3 deletions

View File

@ -247,7 +247,8 @@ void load_menu_game_prepare_dummy(void)
bool load_menu_game(void)
{
int rarch_argc, ret, i;
int rarch_argc, ret;
unsigned i;
struct rarch_main_wrap args = {0};
char *argv_copy[MAX_ARGS];
char *rarch_argv[MAX_ARGS] = {NULL};

View File

@ -653,8 +653,8 @@ static bool gfx_ctx_set_video_mode(void *data,
goto error;
EGLint egl_attribs[16];
EGLint *attr = egl_attribs;
attr = egl_fill_attribs(attr);
EGLint *attr;
attr = egl_fill_attribs(egl_attribs);
g_egl_ctx = eglCreateContext(g_egl_dpy, g_config, EGL_NO_CONTEXT,
attr != egl_attribs ? egl_attribs : NULL);