diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-23 14:40:02 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-23 14:40:02 -0400 |
commit | 2e0e12140e95be18abf3cf7e54230ef22f410fbd (patch) | |
tree | 3cbbd9c31a87d96362c015aa6b649274dffb2235 /effects.h | |
parent | e25257a0431ef475e5106f7534319b161b81fcae (diff) |
effects can use gl state
Diffstat (limited to 'effects.h')
-rw-r--r-- | effects.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -31,18 +31,14 @@ struct effect { void (*func)(source *, layer_bitmap_info *, memory *, property_channel []); uint16 NumberOfProperties; effect_display_type DisplayType; - - struct gl_effect { - uint32 ShaderProgram; - }; - - gl_effect GL_Effect; property_channel Property[MAX_PROPERTIES_PER_EFFECT]; bool32 UIIsCollapsed = 0; bool32 IsActive = 1; }; +// TODO(fox): It'd probably be easier if we just switched to constructors at some point. + static effect_header EffectList[] { { "Solid Color", @@ -69,3 +65,4 @@ static effect_header EffectList[] { } } }; + |