mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 15:11:51 +00:00
fix
Signed-off-by: Niko-Yuan <yuanfangqi7@huawei.com>
This commit is contained in:
parent
f730814c29
commit
f8358af3f0
@ -946,7 +946,7 @@ HWTEST_F(RSRenderNodeTest, UpdateSubSurfaceCntTest, TestSize.Level1)
|
||||
EXPECT_EQ(curSurfaceParent->subSurfaceCnt_, cnt + 1);
|
||||
EXPECT_EQ(preSurfaceParent->subSurfaceCnt_, cnt - 1);
|
||||
|
||||
surfaceNode->nodeType_ = RSSurfaceNodeType::SELF_WINDOW_NODE;
|
||||
surfaceNode->nodeType_ = RSSurfaceNodeType::SELF_DRAWING_NODE;
|
||||
curSurfaceParent->subSurfaceCnt_ = cnt;
|
||||
preSurfaceParent->subSurfaceCnt_ = cnt;
|
||||
surfaceNode->UpdateSubSurfaceCnt(curSurfaceParent, preSurfaceParent);
|
||||
|
Loading…
Reference in New Issue
Block a user