Skip to content

Commit 5707137

Browse files
committed
Remove debug image saving
1 parent 38bea0d commit 5707137

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/skin.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,5 @@ Texture Skin::createAndPaintTexture(int width, int height)
5959
texture->setMinificationFilter(QOpenGLTexture::LinearMipMapLinear);
6060
texture->setMagnificationFilter(QOpenGLTexture::Linear);
6161

62-
// Texture(texture, width, height).toImage().save("/home/adazem009/test.png");
6362
return Texture(texture->textureId(), width, height);
6463
}

test/texture/cputexturemanager_test.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ TEST_F(CpuTextureManagerTest, TextureDataAndHullPoints)
119119
const auto &hullPoints1 = manager.getTextureConvexHullPoints(texture);
120120
ASSERT_EQ(hullPoints1, refHullPoints1);
121121

122-
imgPainter1.fbo()->toImage().save("/home/adazem009/test.png");
123122
manager.removeTexture(texture);
124123
data = manager.getTextureData(texture);
125124
ASSERT_EQ(memcmp(data, refData2, 96), 0);

0 commit comments

Comments
 (0)