We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc0765 commit 181b4bbCopy full SHA for 181b4bb
include/ui/console.h
@@ -267,16 +267,6 @@ PixelFormat qemu_default_pixelformat(int bpp);
267
DisplaySurface *qemu_create_displaysurface(int width, int height);
268
void qemu_free_displaysurface(DisplaySurface *surface);
269
270
-static inline int is_surface_bgr(DisplaySurface *surface)
271
-{
272
- if (PIXMAN_FORMAT_BPP(surface->format) == 32 &&
273
- PIXMAN_FORMAT_TYPE(surface->format) == PIXMAN_TYPE_ABGR) {
274
- return 1;
275
- } else {
276
- return 0;
277
- }
278
-}
279
-
280
static inline int is_buffer_shared(DisplaySurface *surface)
281
{
282
return !(surface->flags & QEMU_ALLOCATED_FLAG);
0 commit comments