diff --git a/gfx/common/gl3_defines.h b/gfx/common/gl3_defines.h index f861809dd9..61a2a09941 100644 --- a/gfx/common/gl3_defines.h +++ b/gfx/common/gl3_defines.h @@ -27,7 +27,6 @@ #endif #include -#include #include "../video_driver.h" #include "../drivers_shader/shader_gl3.h" diff --git a/gfx/common/sixel_defines.h b/gfx/common/sixel_defines.h deleted file mode 100644 index 53eba5b48e..0000000000 --- a/gfx/common/sixel_defines.h +++ /dev/null @@ -1,34 +0,0 @@ -/* RetroArch - A frontend for libretro. - * Copyright (C) 2010-2014 - Hans-Kristian Arntzen - * copyright (c) 2011-2017 - Daniel De Matteis - * copyright (c) 2016-2019 - Brad Parker - * - * RetroArch is free software: you can redistribute it and/or modify it under the terms - * of the GNU General Public License as published by the Free Software Found- - * ation, either version 3 of the License, or (at your option) any later version. - * - * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with RetroArch. - * If not, see . - */ - -#ifndef __SIXEL_DEFINES_H -#define __SIXEL_DEFINES_H - -#include - -#define SIXEL_COLORS 256 - -typedef struct sixel -{ - SIXELSTATUS sixel_status; - unsigned video_width; - unsigned video_height; - unsigned screen_width; - unsigned screen_height; -} sixel_t; - -#endif diff --git a/gfx/drivers/sixel_gfx.c b/gfx/drivers/sixel_gfx.c index da9082dfbc..0342b6be9b 100644 --- a/gfx/drivers/sixel_gfx.c +++ b/gfx/drivers/sixel_gfx.c @@ -37,7 +37,6 @@ #include "../../retroarch.h" #include "../../verbosity.h" #include "../../frontend/frontend_driver.h" -#include "../common/sixel_defines.h" #ifndef _WIN32 #define HAVE_SYS_IOCTL_H @@ -61,9 +60,16 @@ #error "Old version of libsixel detected, please upgrade to at least 1.6.0." #endif -/* - * FONT DRIVER - */ +#define SIXEL_COLORS 256 + +typedef struct sixel +{ + SIXELSTATUS sixel_status; + unsigned video_width; + unsigned video_height; + unsigned screen_width; + unsigned screen_height; +} sixel_t; typedef struct {