mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 19:05:34 +01:00
incorporate https://github.com/processing/processing/pull/5881 for FBO fix on Intel HD Graphics 3000 devices
This commit is contained in:
@@ -165,6 +165,17 @@ public abstract class PGL {
|
||||
protected boolean usingFrontTex = false;
|
||||
protected boolean needSepFrontTex = false;
|
||||
|
||||
/**
|
||||
* Defines if FBO Layer is allowed in the given environment.
|
||||
* Using FBO can cause a fatal error during runtime for
|
||||
* Intel HD Graphics 3000 chipsets (commonly used on older MacBooks)
|
||||
* <a href="https://github.com/processing/processing/issues/4104">#4104</a>
|
||||
* The value remains as 'true' unless set false during init.
|
||||
* TODO There's already code in here to enable/disable the FBO properly,
|
||||
* this should be making use of that mechanism instead. [fry 191007]
|
||||
*/
|
||||
protected boolean fboAllowed = true;
|
||||
|
||||
// ........................................................
|
||||
|
||||
// Texture rendering
|
||||
|
||||
Reference in New Issue
Block a user