diff options
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibGfx/Bitmap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/Bitmap.cpp b/Userland/Libraries/LibGfx/Bitmap.cpp index c6811df2e9..d04f9801bb 100644 --- a/Userland/Libraries/LibGfx/Bitmap.cpp +++ b/Userland/Libraries/LibGfx/Bitmap.cpp @@ -497,6 +497,7 @@ int Bitmap::shbuf_id() const return m_shared_buffer ? m_shared_buffer->shbuf_id() : -1; } +#ifdef __serenity__ ShareableBitmap Bitmap::to_shareable_bitmap() const { auto bitmap = to_bitmap_backed_by_anon_fd(); @@ -504,6 +505,7 @@ ShareableBitmap Bitmap::to_shareable_bitmap() const return {}; return ShareableBitmap(*bitmap); } +#endif Optional<BackingStore> Bitmap::allocate_backing_store(BitmapFormat format, const IntSize& size, [[maybe_unused]] Purgeable purgeable) { |