git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@710 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-11-27 20:08:25 +00:00
parent da3bfae2bb
commit c2834d9f23
5 changed files with 204 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
diff -ruN temp/JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h ./JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h
--- temp/JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h 2017-01-26 11:51:04.000000000 +0100
+++ ./JUCE-4.3.1/modules/juce_graphics/colour/juce_PixelFormats.h 2019-11-22 18:08:13.129839330 +0100
@@ -108,19 +108,6 @@
forcedinline uint8 getGreen() const noexcept { return components.g; }
forcedinline uint8 getBlue() const noexcept { return components.b; }
- #if JUCE_GCC
- // NB these are here as a workaround because GCC refuses to bind to packed values.
- forcedinline uint8& getAlpha() noexcept { return comps [indexA]; }
- forcedinline uint8& getRed() noexcept { return comps [indexR]; }
- forcedinline uint8& getGreen() noexcept { return comps [indexG]; }
- forcedinline uint8& getBlue() noexcept { return comps [indexB]; }
- #else
- forcedinline uint8& getAlpha() noexcept { return components.a; }
- forcedinline uint8& getRed() noexcept { return components.r; }
- forcedinline uint8& getGreen() noexcept { return components.g; }
- forcedinline uint8& getBlue() noexcept { return components.b; }
- #endif
-
//==============================================================================
/** Copies another pixel colour over this one.