summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/bitmap.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/riscos/bitmap.c b/riscos/bitmap.c
index 1fad86ff9..397668e6d 100644
--- a/riscos/bitmap.c
+++ b/riscos/bitmap.c
@@ -108,6 +108,19 @@ bool bitmap_test_opaque(struct bitmap *bitmap)
return true;
}
+
+/**
+ * Gets whether a bitmap should be plotted opaque
+ *
+ * \param bitmap a bitmap, as returned by bitmap_create()
+ */
+bool bitmap_get_opaque(struct bitmap *bitmap)
+{
+ assert(bitmap);
+ return (bitmap->opaque);
+}
+
+
/**
* Return a pointer to the pixel data in a bitmap.
*