mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This patch fixes problems with GL depth (in service of https://github.com/flutter/engine/pull/50856): * The depth + stencil masks weren't being set prior to clearing. * When the driver identifies as desktop GL rather than ES, use `glClearDepth` and `glDepthRange` rather than `glClearDepthf` and `glDepthRangef`.