mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(wayland_ctx.c) Move uninitialized variable to the top of the function
This commit is contained in:
parent
653c76c987
commit
b778c9a7d4
@ -596,10 +596,10 @@ static bool gfx_ctx_wl_set_video_mode(void *data,
|
||||
unsigned width, unsigned height,
|
||||
bool fullscreen)
|
||||
{
|
||||
EGLint egl_attribs[16];
|
||||
driver_t *driver = driver_get_ptr();
|
||||
gfx_ctx_wayland_data_t *wl = (gfx_ctx_wayland_data_t*)
|
||||
driver->video_context_data;
|
||||
EGLint egl_attribs[16];
|
||||
struct sigaction sa = {{0}};
|
||||
EGLint *attr = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user