Skip to content

Commit f160dd5

Browse files
committed
Avoid zero division
1 parent e3a2ce6 commit f160dd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dev/Cpp/Effekseer/Effekseer/Effekseer.EffectNode.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,8 @@ EffectBasicRenderParameter EffectNodeImplemented::GetBasicRenderParameter()
916916
{
917917
param.FlipbookParams.Enable = false;
918918
param.FlipbookParams.LoopType = 0;
919-
param.FlipbookParams.DivideX = 0;
920-
param.FlipbookParams.DivideY = 0;
919+
param.FlipbookParams.DivideX = 1;
920+
param.FlipbookParams.DivideY = 1;
921921
}
922922

923923
param.MaterialType = RendererCommon.MaterialType;

0 commit comments

Comments
 (0)