mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Some win32 clean-ups.
This commit is contained in:
parent
6fd0c918d9
commit
42666db484
28 changed files with 1465 additions and 1475 deletions
|
|
@ -31,11 +31,10 @@ BEGIN_JUCE_NAMESPACE
|
|||
#include "../imaging/juce_Image.h"
|
||||
#include "../colour/juce_PixelFormats.h"
|
||||
|
||||
#if JUCE_MSVC
|
||||
#pragma optimize ("t", on) // try to avoid slowing everything down in debug builds
|
||||
#if JUCE_MSVC && JUCE_DEBUG
|
||||
#pragma optimize ("t", on)
|
||||
#endif
|
||||
|
||||
|
||||
//==============================================================================
|
||||
DropShadowEffect::DropShadowEffect()
|
||||
: offsetX (0),
|
||||
|
|
@ -109,4 +108,8 @@ void DropShadowEffect::applyEffect (Image& image, Graphics& g)
|
|||
g.drawImageAt (&image, 0, 0);
|
||||
}
|
||||
|
||||
#if JUCE_MSVC && JUCE_DEBUG
|
||||
#pragma optimize ("", on) // resets optimisations to the project defaults
|
||||
#endif
|
||||
|
||||
END_JUCE_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue