diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 93357385c6..001f9de533 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -69,6 +69,12 @@ typedef struct video_driver_state } filter; } video_driver_state_t; +typedef struct video_pixel_scaler +{ + struct scaler_ctx *scaler; + void *scaler_out; +} video_pixel_scaler_t; + /* Opaque handles to currently running window. * Used by e.g. input drivers which bind to a window. * Drivers are responsible for setting these if an input driver diff --git a/gfx/video_driver.h b/gfx/video_driver.h index f89d5a9b2a..449c6e89b1 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -88,13 +88,6 @@ struct font_params enum text_alignment text_align; }; -typedef struct video_pixel_scaler -{ - struct scaler_ctx *scaler; - void *scaler_out; -} video_pixel_scaler_t; - - #define FONT_COLOR_RGBA(r, g, b, a) (((r) << 24) | ((g) << 16) | ((b) << 8) | ((a) << 0)) #define FONT_COLOR_GET_RED(col) (((col) >> 24) & 0xff) #define FONT_COLOR_GET_GREEN(col) (((col) >> 16) & 0xff)