Properly support gl_PointSize and gl_PointCoord

Fixes #21719.
Fixes #20993.
Fixes #20992.
Fixes #21007.
Fixes #20979.
This commit is contained in:
Anthony Ramine 2018-10-16 17:08:15 +02:00
parent aa9591137a
commit 8828925f4f
16 changed files with 44 additions and 243 deletions

View file

@ -605,3 +605,9 @@ parameters! {
}),
}
}
pub fn is_gles() -> bool {
// TODO: align this with the actual kind of graphics context in use, rather than
// making assumptions based on platform
cfg!(any(target_os = "android", target_os = "ios"))
}