Fix offscreen texture filter type, ignore one render test
This commit is contained in:
3
metrics/ignores/linux-drawable.json
Normal file
3
metrics/ignores/linux-drawable.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"render-tests/regressions/mapbox-gl-js#3426": "https://github.com/maplibre/maplibre-native/issues/1734"
|
||||
}
|
||||
@@ -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": [
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user