diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2012-11-03 12:47:08 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-11-03 13:26:52 +0000 |
commit | aa32b38c5b2eb1afe30b3292454411bb760a432d (patch) | |
tree | a9e6affb7f033e92044c9c6140ccde768e41bdb6 /console.h | |
parent | 0d7937974cd0504f30ad483c3368b21da426ddf9 (diff) | |
download | hqemu-aa32b38c5b2eb1afe30b3292454411bb760a432d.zip hqemu-aa32b38c5b2eb1afe30b3292454411bb760a432d.tar.gz |
vmware_vga: Remove duplicated info from local state
Removed info from vmsvga_state that is available from elsewhere and
thus was duplicated here unnecessarily.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -377,6 +377,26 @@ static inline pixman_format_code_t ds_get_format(DisplayState *ds) return ds->surface->format; } +static inline int ds_get_depth(DisplayState *ds) +{ + return ds->surface->pf.depth; +} + +static inline int ds_get_rmask(DisplayState *ds) +{ + return ds->surface->pf.rmask; +} + +static inline int ds_get_gmask(DisplayState *ds) +{ + return ds->surface->pf.gmask; +} + +static inline int ds_get_bmask(DisplayState *ds) +{ + return ds->surface->pf.bmask; +} + #ifdef CONFIG_CURSES #include <curses.h> typedef chtype console_ch_t; |