mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix regression: webgl broken on mac, apparently due to ARB_ES2_compatibility extension not working as advertised on Mac. r+a=bustage
This commit is contained in:
parent
cabd660fbb
commit
6d00d1d96c
@ -517,7 +517,12 @@ public:
|
||||
* Returns PR_TRUE if either this is the GLES2 API, or had the GL_ARB_ES2_compatibility extension
|
||||
*/
|
||||
PRBool HasES2Compatibility() const {
|
||||
// temporary workaround: it seems as if ARB_ES2_compatibility is broken on Mac. FIXME needs to be investigated.
|
||||
#ifdef XP_MACOSX
|
||||
return mIsGLES2;
|
||||
#else
|
||||
return mIsGLES2 || IsExtensionSupported(ARB_ES2_compatibility);
|
||||
#endif
|
||||
}
|
||||
|
||||
enum {
|
||||
|
Loading…
Reference in New Issue
Block a user