call glClear before rendering 3D 28/285528/2
authorsangho park <sangho.g.park@samsung.com>
Wed, 14 Dec 2022 05:22:19 +0000 (14:22 +0900)
committersangho park <sangho.g.park@samsung.com>
Wed, 14 Dec 2022 05:24:47 +0000 (14:24 +0900)
[Version] 0.25.4
[Issue type] bug fix

Change-Id: Ice1483919e7c8cd886736217e787addedeb59a4b
Signed-off-by: sangho park <sangho.g.park@samsung.com>
packaging/capi-media-vision.spec
test/testsuites/common/visualizer/src/mv_util_visualizer_3d.cpp

index 2805e65..809df54 100644 (file)
@@ -1,6 +1,6 @@
 Name:        capi-media-vision
 Summary:     Media Vision library for Tizen Native API
-Version:     0.25.3
+Version:     0.25.4
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0 and BSD-3-Clause
index 97ff72c..21fe64f 100644 (file)
@@ -137,6 +137,7 @@ int mv_util_visualizer_3d(mv_source_h source, float *depth, int xpos, int ypos)
                }
        }
        float colb[] = { 1.0, 1.0, 1.0, 1.0 };
+       glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
        draw_point_arrays(mtxGlobal, vtx, uv, height * width, captex.texid, colb);
 
        {