From 027a19434681a6b3ce2f65f1b956ad56434375a0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 6 Nov 2016 18:41:59 +0100 Subject: [PATCH] (xegl_ctx.c) Style nit --- gfx/drivers_context/xegl_ctx.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gfx/drivers_context/xegl_ctx.c b/gfx/drivers_context/xegl_ctx.c index 292834750d..bb5466620e 100644 --- a/gfx/drivers_context/xegl_ctx.c +++ b/gfx/drivers_context/xegl_ctx.c @@ -263,17 +263,17 @@ static bool gfx_ctx_xegl_set_video_mode(void *data, { XEvent event; EGLint egl_attribs[16]; - EGLint *attr; EGLint vid, num_visuals; - bool windowed_full; - bool true_full = false; - int x_off = 0; - int y_off = 0; - XVisualInfo temp = {0}; + EGLint *attr = NULL; + bool windowed_full = false; + bool true_full = false; + int x_off = 0; + int y_off = 0; + XVisualInfo temp = {0}; XSetWindowAttributes swa = {0}; - XVisualInfo *vi = NULL; - settings_t *settings = config_get_ptr(); - xegl_ctx_data_t *xegl = (xegl_ctx_data_t*)data; + XVisualInfo *vi = NULL; + settings_t *settings = config_get_ptr(); + xegl_ctx_data_t *xegl = (xegl_ctx_data_t*)data; int (*old_handler)(Display*, XErrorEvent*) = NULL;