diff options
Diffstat (limited to 'source/blender/shader_fx/intern/FX_shader_pixel.c')
-rw-r--r-- | source/blender/shader_fx/intern/FX_shader_pixel.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_pixel.c b/source/blender/shader_fx/intern/FX_shader_pixel.c index 62efb7a0dd5..e0ea111d121 100644 --- a/source/blender/shader_fx/intern/FX_shader_pixel.c +++ b/source/blender/shader_fx/intern/FX_shader_pixel.c @@ -29,30 +29,30 @@ static void initData(ShaderFxData *fx) { - PixelShaderFxData *gpfx = (PixelShaderFxData *)fx; - ARRAY_SET_ITEMS(gpfx->size, 5, 5); - ARRAY_SET_ITEMS(gpfx->rgba, 0.0f, 0.0f, 0.0f, 0.9f); + PixelShaderFxData *gpfx = (PixelShaderFxData *)fx; + ARRAY_SET_ITEMS(gpfx->size, 5, 5); + ARRAY_SET_ITEMS(gpfx->rgba, 0.0f, 0.0f, 0.0f, 0.9f); } static void copyData(const ShaderFxData *md, ShaderFxData *target) { - BKE_shaderfx_copyData_generic(md, target); + BKE_shaderfx_copyData_generic(md, target); } ShaderFxTypeInfo shaderfx_Type_Pixel = { - /* name */ "Pixelate", - /* structName */ "PixelShaderFxData", - /* structSize */ sizeof(PixelShaderFxData), - /* type */ eShaderFxType_GpencilType, - /* flags */ eShaderFxTypeFlag_Single, - - /* copyData */ copyData, - - /* initData */ initData, - /* freeData */ NULL, - /* isDisabled */ NULL, - /* updateDepsgraph */ NULL, - /* dependsOnTime */ NULL, - /* foreachObjectLink */ NULL, - /* foreachIDLink */ NULL, + /* name */ "Pixelate", + /* structName */ "PixelShaderFxData", + /* structSize */ sizeof(PixelShaderFxData), + /* type */ eShaderFxType_GpencilType, + /* flags */ eShaderFxTypeFlag_Single, + + /* copyData */ copyData, + + /* initData */ initData, + /* freeData */ NULL, + /* isDisabled */ NULL, + /* updateDepsgraph */ NULL, + /* dependsOnTime */ NULL, + /* foreachObjectLink */ NULL, + /* foreachIDLink */ NULL, }; |