mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-25 20:32:22 +00:00
Move decarations to the start of function
This commit is contained in:
parent
3f5eb55405
commit
54a07eaa60
@ -54,6 +54,7 @@ static void *xshm_gfx_init(const video_info_t *video,
|
||||
{
|
||||
xshm_t* xshm = (xshm_t*)malloc(sizeof(xshm_t));
|
||||
Window parent;
|
||||
XSetWindowAttributes attributes;
|
||||
|
||||
XInitThreads();
|
||||
|
||||
@ -72,7 +73,6 @@ static void *xshm_gfx_init(const video_info_t *video,
|
||||
#else
|
||||
parent = video->parent;
|
||||
#endif
|
||||
XSetWindowAttributes attributes;
|
||||
attributes.border_pixel=0;
|
||||
g_x11_win = XCreateWindow(g_x11_dpy, parent,
|
||||
0, 0, video->width, video->height,
|
||||
|
Loading…
x
Reference in New Issue
Block a user