Commit 8c5aebb
committed
[Impeller] Use the canonical texture creation failure message
The Flutter GPU Texture constructor now throws 'Texture creation failed', matching GpuContext.createTexture and the gpu_test.dart expectation, instead of a divergent message. The now-redundant isValid check in createTexture is removed since the constructor throws on failure.1 parent 3b7c85c commit 8c5aebb
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
| 161 | + | |
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments