[gimp] app: disable spec. 8-bpp version of gimp:mask-components for non-little-endian platforms
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: disable spec. 8-bpp version of gimp:mask-components for non-little-endian platforms
- Date: Fri, 1 Mar 2019 19:12:00 +0000 (UTC)
commit 6166f9ae144aa880a9def65ada23f66e1fb103c0
Author: Ell <ell_se yahoo com>
Date: Fri Mar 1 13:51:25 2019 -0500
app: disable spec. 8-bpp version of gimp:mask-components for non-little-endian platforms
app/operations/gimpoperationmaskcomponents.cc | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/app/operations/gimpoperationmaskcomponents.cc b/app/operations/gimpoperationmaskcomponents.cc
index f0f1142bed..44fbb7d68e 100644
--- a/app/operations/gimpoperationmaskcomponents.cc
+++ b/app/operations/gimpoperationmaskcomponents.cc
@@ -210,6 +210,8 @@ struct Process : ProcessGeneric<T>
{
};
+#if G_BYTE_ORDER == G_LITTLE_ENDIAN
+
template <>
struct Process<guint8>
{
@@ -269,6 +271,8 @@ struct Process<guint8>
}
};
+#endif /* G_BYTE_ORDER == G_LITTLE_ENDIAN */
+
template <class T>
static gboolean
gimp_operation_mask_components_process (GimpOperationMaskComponents *self,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]