mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Properly support gl_PointSize and gl_PointCoord
Fixes #21719. Fixes #20993. Fixes #20992. Fixes #21007. Fixes #20979.
This commit is contained in:
parent
aa9591137a
commit
8828925f4f
16 changed files with 44 additions and 243 deletions
|
@ -73,12 +73,6 @@ use std::cmp;
|
|||
use std::ptr::{self, NonNull};
|
||||
use webrender_api;
|
||||
|
||||
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"))
|
||||
}
|
||||
|
||||
// From the GLES 2.0.25 spec, page 85:
|
||||
//
|
||||
// "If a texture that is currently bound to one of the targets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue