mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from /dom
This commit is contained in:
parent
434b3269fb
commit
d29e4f8306
71 changed files with 100 additions and 5342 deletions
|
|
@ -695,18 +695,6 @@ WebGLContext::InitAndValidateGL(FailureReason* const out_failReason)
|
|||
gl->fEnable(LOCAL_GL_PROGRAM_POINT_SIZE);
|
||||
}
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
if (gl->WorkAroundDriverBugs() &&
|
||||
gl->Vendor() == gl::GLVendor::ATI &&
|
||||
!nsCocoaFeatures::IsAtLeastVersion(10,9))
|
||||
{
|
||||
// The Mac ATI driver, in all known OSX version up to and including
|
||||
// 10.8, renders points sprites upside-down. (Apple bug 11778921)
|
||||
gl->fPointParameterf(LOCAL_GL_POINT_SPRITE_COORD_ORIGIN,
|
||||
LOCAL_GL_LOWER_LEFT);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (gl->IsSupported(gl::GLFeature::seamless_cube_map_opt_in)) {
|
||||
gl->fEnable(LOCAL_GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue