| 1 | pub use skia_bindings::GrDriverBugWorkarounds as DriverBugWorkarounds; |
| 2 | #[test ] |
| 3 | fn test_driver_bug_workarounds_naming() { |
| 4 | fn _n(workarounds: &DriverBugWorkarounds) { |
| 5 | let _ = workarounds.max_fragment_uniform_vectors_32; |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | pub trait ApplyOverrides { |
| 10 | fn apply_overrides(&mut self, workarounds: &DriverBugWorkarounds); |
| 11 | } |
| 12 | |
| 13 | impl ApplyOverrides for DriverBugWorkarounds { |
| 14 | fn apply_overrides(&mut self, workarounds: &DriverBugWorkarounds) { |
| 15 | unsafe { self.applyOverrides(workarounds) } |
| 16 | } |
| 17 | } |
| 18 | |