Fix offscreen texture filter type, ignore one render test

This commit is contained in:
Bart Louwers
2023-10-05 09:28:14 +00:00
parent 9342f81131
commit 34a29ef061
3 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
{
"render-tests/regressions/mapbox-gl-js#3426": "https://github.com/maplibre/maplibre-native/issues/1734"
}

View File

@@ -6,7 +6,8 @@
],
"ignore_paths": [
"ignores/platform-all.json",
"ignores/platform-linux.json"
"ignores/platform-linux.json",
"ignores/linux-drawable.json"
],
"metric_path": "linux-gcc8-release",
"probes": [

View File

@@ -18,7 +18,7 @@ public:
texture->setSize(size);
texture->setFormat(gfx::TexturePixelType::RGBA, type);
texture->setSamplerConfiguration(
{gfx::TextureFilterType::Nearest, gfx::TextureWrapType::Clamp, gfx::TextureWrapType::Clamp});
{gfx::TextureFilterType::Linear, gfx::TextureWrapType::Clamp, gfx::TextureWrapType::Clamp});
#endif
}