skia: fix GCC12 -Werror=shadow
Change-Id: I0ec8e9d7d54b48281332cb5128d03ac28dad87e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134737 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
parent
5cf5df83aa
commit
3a1d90f484
1 changed files with 11 additions and 0 deletions
11
external/skia/fix-warnings.patch.1
vendored
11
external/skia/fix-warnings.patch.1
vendored
|
@ -26,3 +26,14 @@ index f143dab013..be3cde0f4f 100644
|
|||
|
||||
const DisplayParams& getDisplayParams() { return fDisplayParams; }
|
||||
virtual void setDisplayParams(const DisplayParams& params) = 0;
|
||||
--- skia/include/core/SkSamplingOptions.h.orig 2022-05-22 12:25:06.112544528 +0200
|
||||
+++ skia/include/core/SkSamplingOptions.h 2022-05-22 12:25:09.207636134 +0200
|
||||
@@ -97,7 +97,7 @@
|
||||
bool isAniso() const { return maxAniso != 0; }
|
||||
|
||||
private:
|
||||
- SkSamplingOptions(int maxAniso) : maxAniso(maxAniso) {}
|
||||
+ SkSamplingOptions(int maxAniso_) : maxAniso(maxAniso_) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue