Revision 8927bcfd console.h
b/console.h | ||
---|---|---|
139 | 139 |
return ds->depth; |
140 | 140 |
} |
141 | 141 |
|
142 |
static inline int ds_get_bytes_per_pixel(DisplayState *ds) |
|
143 |
{ |
|
144 |
return (ds->depth / 8); |
|
145 |
} |
|
146 |
|
|
142 | 147 |
typedef unsigned long console_ch_t; |
143 | 148 |
static inline void console_write_ch(console_ch_t *dest, uint32_t ch) |
144 | 149 |
{ |
Also available in: Unified diff