forked from firka/flutter
739db9f5b50d40e21aeef237e86369786b5befed
The macOS desktop driver doesn't support ES profiles, and `glClearDepthf` + `glDepthRangef` are throwing `GL_INVALID_OPERATION` and doing nothing. Noticed this while updating impeller-cmake past @matanlurey's recent changes to make `GL_INVALID_OPERATION` fatal. Impeller-cmake-example uses a depth buffer, whereas Impeller's 2D renderer currently does not. Added a follow-up bug to make these calls work on macOS desktop: https://github.com/flutter/flutter/issues/136322. Both Impeller Scene and the impeller-cmake-example currently just rely on the default state for clearing depth.
Description
No description provided
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%