From dc2664a4ef1e0caaa639db7f9aa9f77fb95b4b03 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 29 Sep 2017 22:58:32 +0200 Subject: [PATCH] Reorder variables --- tasks/task_screenshot.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index ac960cd049..e9f071c5b2 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -62,24 +62,24 @@ typedef struct screenshot_task_state screenshot_task_state_t; struct screenshot_task_state { -#ifdef _XBOX1 - D3DSurface *surf; -#endif - char filename[PATH_MAX_LENGTH]; - char shotname[256]; - uint8_t *out_buffer; - struct scaler_ctx scaler; - const void *frame; - unsigned width; - unsigned height; - int pitch; bool bgr24; bool silence; - void *userbuf; bool is_idle; bool is_paused; bool history_list_enable; + int pitch; + unsigned width; + unsigned height; unsigned pixel_format_type; + uint8_t *out_buffer; + const void *frame; + char filename[PATH_MAX_LENGTH]; + char shotname[256]; +#ifdef _XBOX1 + D3DSurface *surf; +#endif + void *userbuf; + struct scaler_ctx scaler; }; /**