mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
move video_pixel_scalar struct to gfx/video_driver.c
This commit is contained in:
parent
b8df5fd584
commit
be0857aff2
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user