diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-07-24 17:25:07 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-07-24 17:25:07 -0400 |
commit | c6bd84c356b6aaa029b9708d7b99a4aba1673b6b (patch) | |
tree | 453e34e4f532d3f7c100023f499188ff70f178f3 /effects.cpp | |
parent | 3e399d7f2f37feb10e120d7c5950615ffb350a84 (diff) |
MSVC build support, some feature regression
Diffstat (limited to 'effects.cpp')
-rw-r--r-- | effects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/effects.cpp b/effects.cpp index fe593a4..5532a97 100644 --- a/effects.cpp +++ b/effects.cpp @@ -184,6 +184,9 @@ DrawGradient(pixel_buffer *Buffer, memory *Memory, property_channel Property[]) v4 EndColor = Property[1].CurrentValue.col; } +#if WINDOWS +global_variable effect_header EffectList[2]; +#else global_variable effect_header EffectList[] { { "Solid Color", @@ -201,6 +204,7 @@ global_variable effect_header EffectList[] { } } }; +#endif #if 0 { "Solid Color", |